After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 111988 - show full path as a tooltip
show full path as a tooltip
Status: RESOLVED FIXED
Product: libegg
Classification: Other
Component: recent-files
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Emmanuele Bassi (:ebassi)
Emmanuele Bassi (:ebassi)
Depends on:
Blocks:
 
 
Reported: 2003-05-01 11:11 UTC by Paolo Borelli
Modified: 2005-07-11 08:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Borelli 2003-05-01 11:11:16 UTC
I don't know if this belongs to libegg's recent file implementation or to
the apps using it, but I'd find quite useful if the items in the recent
list could have a tooltip (either as a popup or in the app statusbar)
showing the full path of the file, so that if I have opened e.g.

/home/paolo/bar.txt
/home/paolo/foo/bar.txt

in the recent files I have two entries

recent:
	- bar.txt
	- bar.txt

but when I place the mouse on one of the two I can pick the right one.
Comment 1 Vincent Untz 2005-01-28 12:05:57 UTC
We added such tooltips in the panel, but I think the app should be responsible
for doing this: for example, in the panel we have "Open '/tmp/foobar.txt'" as
tooltip, but gedit might want to use another tooltip...
Comment 2 Paolo Borelli 2005-01-28 12:27:50 UTC
wow... I totally forgot about this bugreport :)

FWIW aslo in gedit we have such tooltips now, but also in gedit we the tooltip
is "Open '/tmp/foobar.txt'" so having it available in egg-recent might still
make sense.
Comment 3 Emmanuele Bassi (:ebassi) 2005-07-07 09:54:10 UTC
I have a patch for this, which shows the complete URI and the MIME type of the
recent item, if no tooltip function was supplied by the user of EggRecentViewGytk.

The layout is similar to the GEdit tooltip shown when hovering on the file tab,
except for the markup (which would require the overhauling of the tooltip object
- and I think that's too much for a widget that is going away).
Comment 4 Emmanuele Bassi (:ebassi) 2005-07-11 08:42:51 UTC
In HEAD there's a patch for showing the "Open '<uri>'" tooltip if not tooltip
function has been supplied (which should mean that many tooltip functions out
there could simply be removed).

The patch with the recent item's URI and MIME type is still here, but I don't
think it's worth it.
Comment 5 Emmanuele Bassi (:ebassi) 2005-07-11 08:43:06 UTC
2005-07-11  Emmanuele Bassi <ebassi@cvs.gnome.org>

	* libegg/recent-files/egg-recent-view-gtk.c:
	(egg_recent_view_gtk_create_tooltip), (egg_recent_view_gtk_add_item):

	Create a tooltip if no tooltip_func has been supplied (Closes
	bug #111988).