GNOME Bugzilla – Bug 162596
Abbreviated file names can be difficult to distinguish
Last modified: 2018-05-02 14:05:42 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).
Created attachment 35316 [details] Example
Marking as `major', because accidentally saving to the wrong file leads to data loss.
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.
No tooltip shown in GTK+ 2.14.4, so the problem is still there.
This is still valid, BTW. The file chooser should display tooltips for ellipsized filenames.
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.
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.
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.
-- 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.