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 162596 - Abbreviated file names can be difficult to distinguish
Abbreviated file names can be difficult to distinguish
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other All
: Normal enhancement
: Small feature
Assigned To: gtk-bugs
gtk-bugs
filechooser-beginner-fix
Depends on: 80980
Blocks:
 
 
Reported: 2004-12-31 01:21 UTC by Evert Verhellen
Modified: 2018-05-02 14:05 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Example (38.86 KB, image/png)
2004-12-31 01:22 UTC, Evert Verhellen
Details

Description Evert Verhellen 2004-12-31 01:21:25 UTC
Steps:

 1. Open a terminal.
 2. $ touch these-are-{completed-tasks,tasks-in-progress}.txt
 3. $ ls

    these-are-completed-tasks.txt  these-are-tasks-in-progress.txt

 4. Start gedit.
 5. Press [Ctrl]+[O].

    The "Open File..." dialog is displayed, both file names are shown as
"these-are-…".

Actual results:
"these-are-completed-tasks.txt" cannot easily be distinguished from
"these-are-tasks-in-progress.txt", unless the Name column is resized.

Expected results:
A tooltip with the complete file name should be displayed when the mouse pointer
is above an abbreviated file name. Optionally, it might be interesting to also
display a tooltip with non-abbreviated items, listing "Type", "Date Modified"
and "Size" information (the Windows Explorer does this).
Comment 1 Evert Verhellen 2004-12-31 01:22:33 UTC
Created attachment 35316 [details]
Example
Comment 2 Evert Verhellen 2005-02-13 16:31:48 UTC
Marking as `major', because accidentally saving to the wrong file leads to data
loss.
Comment 3 Javier Jardón (IRC: jjardon) 2010-03-24 02:54:12 UTC
You reported this bug a while ago and there hasn't been any activity in it
recently. We were wondering if this is still an issue for you.

Can you please check again if the issue you reported here still happens in a
recent version and update this report by adding a comment and adjusting
the 'Version' field?

Again thank you for reporting this and sorry that it could not be fixed for the
version you originally used here.

Set to NEEDINFO, so without feedback this report will be closed as INCOMPLETE
after 6 weeks.
Comment 4 Evert Verhellen 2010-03-25 18:09:55 UTC
No tooltip shown in GTK+ 2.14.4, so the problem is still there.
Comment 5 Federico Mena Quintero 2012-12-11 18:38:10 UTC
This is still valid, BTW.  The file chooser should display tooltips for ellipsized filenames.
Comment 6 Clayton G. Hobbs 2016-10-21 21:08:27 UTC
I'm interested in working on this bug.  I took a look at gtk/gtkfilechooserwidget.c and found the file_list_query_tooltip_cb function that adds the exact tooltip needed in the "Recent" list.  The one problem I'm having is figuring out if the list item currently being hovered is ellipsized or not.  If anyone more experienced than myself has some suggestions, I'd really appreciate it.
Comment 7 Matthias Clasen 2018-02-10 04:59:50 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 8 Clayton G. Hobbs 2018-02-10 22:05:36 UTC
This issue still applies to both GTK+ 3.22 and master, and I'd still like to work on it.

I can't see how to reopen it, but maybe this comment will do that automagically?  I dunno, Bugzilla is confusing and I'm glad GNOME is moving to GitLab.
Comment 9 GNOME Infrastructure Team 2018-05-02 14:05:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/241.