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 750720 - Allow ellipsizing filenames above editor
Allow ellipsizing filenames above editor
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
3.16.x
Other Linux
: Normal minor
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-10 16:16 UTC by Michael Catanzaro
Modified: 2015-06-25 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (330.37 KB, image/png)
2015-06-10 16:16 UTC, Michael Catanzaro
  Details
screenshot (248.67 KB, image/png)
2015-06-11 17:23 UTC, Michael Catanzaro
  Details
view filename: ellipsize from start (922 bytes, patch)
2015-06-25 15:13 UTC, sébastien lafargue
committed Details | Review

Description Michael Catanzaro 2015-06-10 16:16:46 UTC
Created attachment 304986 [details]
screenshot

Screenshot attached. Particularly long filenames can push the f{} and following buttons off the screen. They also prevent resizing the left editor in the case where I have two editors open at once: I want to make the left editor smaller so that I can fit 80 columns in the right editor, but to do so I have to open a file with a shorter name in the left editor.
Comment 1 Christian Hergert 2015-06-10 18:42:43 UTC
Makes sense.

Should we set the ellipsis to the middle or start?
Comment 2 Michael Catanzaro 2015-06-10 19:43:27 UTC
Guess: the start. If you ellipsize the middle of the filename on the left in the attached screenshot, you'd cut off the first part of the base name of the file.
Comment 3 Michael Catanzaro 2015-06-11 17:23:46 UTC
Created attachment 305091 [details]
screenshot

So the screenshot above was taken with a build of Builder from a couple of weeks ago. I built master again yesterday and now I'm seeing this. There is no horizontal scrolling; the left portion of the file is just cut off. Unlike the problem in comment #0, this time I can fix it by resizing the middle pane.
Comment 4 sébastien lafargue 2015-06-25 15:13:53 UTC
Created attachment 306117 [details] [review]
view filename: ellipsize from start
Comment 5 sébastien lafargue 2015-06-25 15:24:04 UTC
Attachment 306117 [details] pushed as 001f4bf - view filename: ellipsize from start