← Back to team overview

dx-packages team mailing list archive

[Bug 1296866] Re: Allow unity-panel.menuitem to paint window title text for maximized window in new Unity Decorator(Trusty)

 

This bug was fixed in the package unity - 7.2.0+14.04.20140402-0ubuntu1

---------------
unity (7.2.0+14.04.20140402-0ubuntu1) trusty; urgency=medium

  [ Stephen M. Webb ]
  * Release 7.2.0.

  [ Marco Trevisan (Treviño) ]
  * CompizUtils: only shadow-decorate alpha windows that have full
    decorations as well Since alpha windows might have custom shapes,
    it's safer not to shadow-decorate them unless they don't provide,
    for sure, a full decoration. (LP: #1281825)
  * Panel, Decorations: draw the background under the text glyphs before
    the text itself (LP: #723167)
  * PanelMenuView: use panel style context for painting the panel title
    (LP: #1296866)
  * SpreadFilter: use launcher width, scale on HiDPI, match also
    application names Launcher Width is now considered in setting the
    offset of the scale filter (fixes padding when launcher is in
    autohide mode). The search bar is correctly scaled when in HiDPI
    mode. We use ApplicationManager and thus BAMF to match windows by
    their name or app name. (LP: #1281297)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Wed, 02 Apr 2014 11:04:11 +0000

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1296866

Title:
  Allow unity-panel.menuitem to paint window title text for maximized
  window in new Unity Decorator(Trusty)

Status in Themes for Ubuntu:
  In Progress
Status in Unity:
  In Progress
Status in “ubuntu-themes” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  Some themes (Greybird, Elementary) use dark-panel & light window
  title-bar (When it is not maximized). As new Unity window decorator
  uses same title-bar foreground color for both normal & maximized
  windows, window title on unity-panel is not properly visible as it
  becomes dark-text on dark-panel. I have attached a screenshot.

  This forces theme developer to use use same background color for both
  unity-panel & un-maximized windows, which breaks theme design. The
  idea is that theme-developers like to think unity-panel as a panel &
  not just a title-bar for maximized window.

  According to https://wiki.ubuntu.com/Unity/Theming, color set in
  UnityDecoration.top is used for both unmaximized & maximized window.

  UnityDecoration.top {
   color: @dark_fg_color
  }

  And when this is set, the color set in .unity-panel.menuitem is
  ignored for window title text in panel (it still paints some other
  text in panel like indicator-datetime)

  .unity-panel .menuitem {
      border-width: 0 1px;
      color: @panel_fg_color;     # this does not affect window title text anymore. 
  }

  This color (OR unity.panel foreground color in UnityPanelWidget)
  should be used to paint the window tile text for maximized window, as
  it used to be in old compiz-decorator.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-themes/+bug/1296866/+subscriptions


References