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 592640 - long application titles for "non-tracked" apps are not truncated
long application titles for "non-tracked" apps are not truncated
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
2.27.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 605534 605536 608125 (view as bug list)
Depends on: 598463
Blocks:
 
 
Reported: 2009-08-21 22:28 UTC by ubuntu.emorrp1
Modified: 2010-05-26 17:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[panel] Ellipsize long application titles, don't push clock around (3.94 KB, patch)
2010-05-25 14:27 UTC, Colin Walters
committed Details | Review

Description ubuntu.emorrp1 2009-08-21 22:28:31 UTC
e.g. Firefox 3.5 labelled as Shiretoko in Ubuntu Jaunty, instead of being truncated, the notification area/user applet is pushed off to the right:
http://www.srcf.ucam.org/~pem34/public_html/Screenshot.png
compared to http://www.srcf.ucam.org/~pem34/public_html/Screenshot-1.png
Comment 1 Nguyen Thai Ngoc Duy 2010-02-13 13:52:58 UTC
Another example is xterm with screen running inside, showing screen tabs on title. It overlaps with the time applet.
Comment 2 Dan Winship 2010-02-15 14:36:11 UTC
probably not worth fixing until we modernize the panel widgetry
Comment 3 Dan Winship 2010-02-23 16:52:29 UTC
*** Bug 608125 has been marked as a duplicate of this bug. ***
Comment 4 ubuntu.emorrp1 2010-02-23 19:34:42 UTC
note that as of v2.29, bug 608125 has the more accurate description for the bug title - The long title shows behind all panel elements (e.g. clock, taskbar, user status), rather than pushing them off to the side. An improvement, since the panel sections remain fully functional, but should probably still be truncated at the clock (or faded to show the title runs behind the clock), with the full title available on mouseover/context menu etc.
Comment 5 Owen Taylor 2010-05-25 13:55:34 UTC
One extra point about this, pointed out by https://bugzilla.redhat.com/show_bug.cgi?id=585069, is that for remote displayed apps, Metacity adds '(on hostname)' - which we should avoid for the unmatched window fallback apps.
Comment 6 Colin Walters 2010-05-25 14:27:27 UTC
Created attachment 161948 [details] [review]
[panel] Ellipsize long application titles, don't push clock around

First, simply set the ellipsize flag on the application menu labels.
Next, rework how we lay out the panel components so that the center
box is always centered and constrains the left and right, rather
than pushing it around.

Previously, as part of making the shell not obviously explode if
one had a lot of tray icons, we allowed them to push the clock over.
Instead, go back to just failing in this case; we need to exile legacy
tray icons, not be slightly less ugly.
Comment 7 Dan Winship 2010-05-25 14:35:03 UTC
Comment on attachment 161948 [details] [review]
[panel] Ellipsize long application titles, don't push clock around

yup, nice simplification
Comment 8 Colin Walters 2010-05-25 14:40:51 UTC
Attachment 161948 [details] pushed as 01c4935 - [panel] Ellipsize long application titles, don't push clock around
Comment 9 Colin Walters 2010-05-26 17:27:49 UTC
*** Bug 605536 has been marked as a duplicate of this bug. ***
Comment 10 Colin Walters 2010-05-26 17:28:40 UTC
*** Bug 605534 has been marked as a duplicate of this bug. ***