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 642108 - Cut with fading the bar Title when it's longer than the decoration bar
Cut with fading the bar Title when it's longer than the decoration bar
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2011-02-11 15:43 UTC by Marco Trevisan (Treviño)
Modified: 2014-06-04 07:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Cut with fading the Bar title when it's longer than the decoration bar (2.63 KB, patch)
2011-02-11 15:43 UTC, Marco Trevisan (Treviño)
committed Details | Review

Description Marco Trevisan (Treviño) 2011-02-11 15:43:36 UTC
Created attachment 180661 [details] [review]
Cut with fading the Bar title when it's longer than the decoration bar

With this patch, when an application title is longer than the decorator available space for title, the text is colored using a cairo linear pattern which is divided into two parts:
  * The first pixels - alpha_margin are colored with the defined opaque color
  * The pixels from alpha_margin until the string end are colored using
    a cairo pattern going from the opaque color to the transparent one.

The alpha_margin value allows to define how "slow" the fading should be and is actually fixed to 30, but it can be revised or maybe settable by themes.

You can see how a window with a long title looks when the patch is applied here:
 http://go.3v1n0.net/dMv6Eg
Comment 1 Alberts Muktupāvels 2014-06-04 07:49:23 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.