GNOME Bugzilla – Bug 616133
Notebook labels could ellipsize better
Last modified: 2017-12-13 18:52:31 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.
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)
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.
-- 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.