← 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)

 

** Branch linked: lp:ubuntu/trusty-proposed/ubuntu-themes

-- 
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:
  New
Status in “unity” package in Ubuntu:
  In Progress

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