Bug 125076 - looking at recent files list we should see the path info
Summary: looking at recent files list we should see the path info
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Recent-Document-List GTK3
  Show dependency treegraph
 
Reported: 2019-05-02 08:46 UTC by peter josvai
Modified: 2023-12-21 14:14 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter josvai 2019-05-02 08:46:50 UTC
dear devs,

people offtentimes have documents with the same name in different directories...
also, people will offtentimes wonder where on earth a certain document is located... 

it would be great to see the path info when looking at the recent documents list.. (when the mouse goes over the given file)

removable media and/or inaccessible files could be indicated, too...

- - - thank you fore developing libreoffice - - -
Comment 1 Xisco Faulí 2019-05-02 10:19:47 UTC
My take: show it as tooltip... Let's the UX team decide
Comment 2 V Stuart Foote 2019-05-02 13:06:10 UTC
Can not confirm. On Windows build of 6.2.3.2 and master/6.3.0 both the Start Center -> Recent Files thumbnail views, and the per module File -> Recent Documents list *already* display full path in a tooltip on mouseover!

Already => WFM
Comment 3 Xisco Faulí 2019-05-02 13:27:10 UTC
oh, right!!
Closing as RESOLVED NOTABUG
Comment 4 Thomas Lendo 2019-05-05 12:55:57 UTC
I'm reopening this bug because I think the bug opener means the recent document list in the LibreOffice UI ('Open' toolbar command, etc.) and not in the Start Center.

I don't know if it's technically possible to have a tooltip on these recent document entries, but I'm definitively in favour of this idea after a latency time of some seconds to not disturb the normal mouse cursor path.
Comment 5 Xisco Faulí 2019-06-10 15:40:08 UTC
(In reply to Thomas Lendo from comment #4)
> I'm reopening this bug because I think the bug opener means the recent
> document list in the LibreOffice UI ('Open' toolbar command, etc.) and not
> in the Start Center.
> 
> I don't know if it's technically possible to have a tooltip on these recent
> document entries, but I'm definitively in favour of this idea after a
> latency time of some seconds to not disturb the normal mouse cursor path.

Moving to NEW then...
Comment 6 V Stuart Foote 2019-06-10 15:48:12 UTC
Huh? On Windows builds...

The MRU list (File -> Recent Documents) already includes the file extensions (if any) in its entry.

Also, its pop-up tooltip includes full path and file name there as well.

Pretty clear => WFM on Windows builds.

Folks seeing different on other builds?
Comment 7 Xisco Faulí 2019-06-10 16:17:10 UTC
oh, wait a second, it works in GTK2 and GEN but not in GTK3, thus, this is a GTK3 only bug...

@Caolán, I thought you could be interested in this issue...
Comment 8 Xisco Faulí 2019-06-10 16:17:50 UTC
Also reproduced in

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)
Comment 9 Caolán McNamara 2019-06-11 08:04:48 UTC
https://gitlab.gnome.org/GNOME/gtk/issues/785 no way to set tooltip on a menu item via GMenuModel
Comment 10 Cédric Bellegarde 2019-08-15 21:27:49 UTC
I resolved the issue in Lollypop by using a custom menu builder:

https://gitlab.gnome.org/World/lollypop/blob/master/lollypop/widgets_menu.py

Allows me to add more custom attributes.
Comment 11 Hans 2023-12-21 11:17:17 UTC
I still see no tooltips with file path when hovering on items in the “Open” picklist and File -> Recent Files. 

I do see the tooltips in the startcenter / welcome screen.


Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.utf-8); UI: de-DE
Calc: threaded

on Ubuntu 20.04.6 LTS
Comment 12 V Stuart Foote 2023-12-21 11:54:50 UTC
Tooltips with full path for entrys on the menu MRU listing (File -> Recent Documents) continue to WFM on Windows builds.

@Michael W, any cycles to poke at this on GTK3/4? Otherwise still seems NOB as noted by Caolán at comment 9
Comment 13 Michael Weghorn 2023-12-21 12:44:10 UTC
(In reply to V Stuart Foote from comment #12)
> Tooltips with full path for entrys on the menu MRU listing (File -> Recent
> Documents) continue to WFM on Windows builds.
> 
> @Michael W, any cycles to poke at this on GTK3/4? Otherwise still seems NOB
> as noted by Caolán at comment 9

The Gtk issue that Caolán refers to shows that this is a design decision from the Gtk maintainers, so there's nothing to do about that on LO side:
https://gitlab.gnome.org/GNOME/gtk/-/issues/785

(If you still feel strongly that this should be possible, you can try to convince the Gtk maintainers, but I personally don't think this is likely to have success.)
Comment 14 V Stuart Foote 2023-12-21 13:22:32 UTC
(In reply to Michael Weghorn from comment #13)

> > @Michael W, any cycles to poke at this on GTK3/4? Otherwise still seems NOB
> > as noted by Caolán at comment 9
> 
> The Gtk issue that Caolán refers to shows that this is a design decision
> from the Gtk maintainers, so there's nothing to do about that on LO side:
> https://gitlab.gnome.org/GNOME/gtk/-/issues/785
> 

Understood, but I'd had a peek at what you'd done for Accerciser, seemed germane.
Comment 15 Michael Weghorn 2023-12-21 13:40:55 UTC
(In reply to V Stuart Foote from comment #14)
> Understood, but I'd had a peek at what you'd done for Accerciser, seemed
> germane.

Do you mean https://gitlab.gnome.org/GNOME/accerciser/-/merge_requests/38 - in particular https://gitlab.gnome.org/GNOME/accerciser/-/merge_requests/38/diffs?commit_id=ea98703d7d9187d9eeb661b42e2832da912263f7 ?

That removes the tooltips from the Accerciser menu items as well, because they're no longer supported when moving to the non-deprecated GMenuModel etc. - i.e. Accerciser will lose tooltips the same way. (Sticking to deprecated things isn't an alternative.)
Comment 16 V Stuart Foote 2023-12-21 14:06:47 UTC
Yep, misread sorry for the noise. And I guess Cédric B's approach of rolling our own from menu model as for the lollypop player is not appealing either.
Comment 17 Michael Weghorn 2023-12-21 14:14:56 UTC
(In reply to V Stuart Foote from comment #16)
> Yep, misread sorry for the noise. 
No problem, thanks for looking into it. :)

> And I guess Cédric B's approach of rolling
> our own from menu model as for the lollypop player is not appealing either.

In my opinion, the idea is to stick to what the toolkit does. For better or worse, behaving like other native Gtk applications is therefore generally a feature, not a bug.

The general options that are available are:

* accepting the Gtk behavior
* discussing with upstream Gtk
* switching to a different VCL plugin (The gen/x11 one shows tooltips on Linux.)