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 616133 - Notebook labels could ellipsize better
Notebook labels could ellipsize better
Status: RESOLVED OBSOLETE
Product: meld
Classification: Other
Component: general
1.3.x
Other All
: Normal enhancement
: ---
Assigned To: Stephen Kennedy
Stephen Kennedy
Depends on:
Blocks:
 
 
Reported: 2010-04-18 20:19 UTC by Connor Behan
Modified: 2017-12-13 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of wrong ellipses (16.45 KB, image/png)
2013-12-27 21:12 UTC, Jonas Wagner
Details

Description Connor Behan 2010-04-18 20:19:20 UTC
Hi, meld is the only program I've used where each tab in the notebook represents TWO open files. It's good that you use "*" to indicate when each one has been modified but ellipsizing the label when it gets too long causes a problem. Seeing what file has been modified is important information but "..." often gets in the way of the first file making me stop and look at the tooltip.

I just turned off ellipsizing because I will most likely never need it but there are various fixes I suppose. Packing TWO different label boxes in each tab and telling each one to ellipsize by itself? Or setting the label to show the names of both files and then one of "  ", " *", "* " or "**" depending on which ones are modified? I don't know. I just think leaving it how it is would be ugly. Thanks.
Comment 1 Jonas Wagner 2013-12-27 21:12:37 UTC
Created attachment 264947 [details]
Screenshot of wrong ellipses

This screenshot shows how the ellipses are actually wrong (they increase the total with of the label, instead of making it shorter)
Comment 2 Kai Willadsen 2013-12-30 22:31:19 UTC
In that screen shot, the ellipsization is making the label *much* shorter; it would otherwise be "[(whatever)] CacheQueryProxy.java : CacheQueryProxy.java".

However, the original problem is still an issue. Ellipsizing labels separately as described is a long-standing FIXME in that code. It's likely that we should also rethink the label construction altogether.
Comment 3 GNOME Infrastructure Team 2017-12-13 18:52:31 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/meld/issues/21.