Top Panel does not respect GTK theme

Bug #663524 reported by Andres
292
This bug affects 58 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Neil J. Patel
unity-2d
Fix Released
Medium
Unassigned
unity (Ubuntu)
Fix Released
Medium
Unassigned
unity-2d (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

With Gnome Panel (as in standard Gnome 2), changing the GTK theme also changes appearance of the panels.
In Unity, panel always looks like with Ambiance theme.

Note to the implementer: please see my comment #4, the font-style should follow the theme, but sizing needs to vary slightly from the base application-font in the theme.

See also: Bug #711982 "Launcher does not respect GTK theme"

Related branches

Andres (andres-erbsen)
description: updated
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for reporting this bug and help to make ubuntu better.

I was thinking there was already a theme bug already, not sure where it is :)

Changed in unity:
status: New → Triaged
importance: Undecided → Medium
Changed in unity (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
David Prieto (frandavid100-gmail) wrote :

Is it even possible for the launcher and panel to respect the theme? Or are they supposed to always be dark grey?

Revision history for this message
Alexandre (alexandre-bonhomme-gmail) wrote :

Same problem for me, Unity doesn't respect gtk & icon theme, it only uses the humanity icons theme, and the panel doesn't match the gtk theme. Moreoever, I can't add anything to the panel.

Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

A note to the implementor: Unity will use a variant of the application font: the panel font should be slightly larger than the application font. We are working on a classification system for the use of typography in the desktop, whether or not that work is complete in Natty is unclear but nevertheless we should apply some of the thinking to the styling of the panel.

Changed in unity:
importance: Medium → High
description: updated
Revision history for this message
Neil J. Patel (njpatel) wrote :

I'll track the respecting of the gtk theme and icon theme with this bug, and I can easily amend the font size/style when we have specs for that.

Changed in unity:
assignee: nobody → Neil J. Patel (njpatel)
importance: High → Medium
milestone: none → 3.2.6
Neil J. Patel (njpatel)
Changed in unity:
assignee: Neil J. Patel (njpatel) → Mirco Müller (macslow)
summary: - Launcher and panel do not respect GTK theme
+ Panel does not respect GTK theme
summary: - Panel does not respect GTK theme
+ Launcher & Panel does not respect GTK theme
Mirco Müller (macslow)
Changed in unity:
milestone: 3.2.6 → 3.2.8
Revision history for this message
András Bognár (bognarandras-deactivatedaccount) wrote : Re: Launcher & Panel does not respect GTK theme

Hi,

And what about the panel size and style? It's going to a little bit smaller (like os x - 20/21px)? What about transparency? So the panel use the gtk theme color, but the panel background is going to be transparent?

András Bognár

Neil J. Patel (njpatel)
Changed in unity:
milestone: 3.2.8 → 3.4
David Barth (dbarth)
Changed in unity:
milestone: 3.4 → 3.2.10
milestone: 3.2.10 → 3.4
Revision history for this message
Matt Sturgeon (mattsturgeon) wrote :

I would've thought it pretty simple t copy most of the gtk respecting panel theme code stuff from gnome 2's panel, and maybe also look at how gnome-shell is handling themeing.
I mean, there's already a bg image for the top-panel, just replace the code that prints that, with code that prints the current theme's panel background.

Changed in unity-2d:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 3.4
assignee: nobody → Aurélien Gâteau (agateau)
Revision history for this message
Matt Sturgeon (mattsturgeon) wrote :

Regarding also effecting Unity 2D:
The changes necessary should be easily transferable across all Unity - not just Unity 3D. This is since panel theme (font, background colour, background image/pixmap, etc) do not require 3D acceleration to run.

description: updated
Revision history for this message
Barkhat (barkhat) wrote :

Is it possible to change the size of the icons located in the launcher. I have failed to figure out how to do this? Also, is it possible to make the launcher smaller (slimmer)?

Revision history for this message
Olivier Tilloy (osomon) wrote :

@Berijoy: this is currently not possible, but the idea has been forwarded to designers (see https://answers.launchpad.net/unity-2d/+question/141757).

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 663524] Re: Launcher & Panel does not respect GTK theme

The size of the launchers is fixed in mm, it might vary in future based
on dpi.

Mark

Revision history for this message
Matt Sturgeon (mattsturgeon) wrote : Re: Launcher & Panel does not respect GTK theme

To those assigned this bug in Unity and Unity 2D (Mirco Müller and Aurélien Gâteau respectively):
Basically, how far are you? What have you achieved towards implementing this?
And can you please also upload your development branched to launchpad so mere mortals like us can take a peak?
Thanks

Revision history for this message
manny (estelar57) wrote :
Revision history for this message
Florian Boucault (fboucault) wrote :

@Matt: very nice of you to test out the features, thanks! Though I suspect that the bug report will be marked as "In Progress" whenever Mirco or Aurélien start implementing it.

Revision history for this message
Matt Sturgeon (mattsturgeon) wrote :

I think some of the first things to change should be the icons:
"start-here" (the Ubuntu logo), and the window decoration icons (close, max, min). They should use system wide icons, rather than Unity-specific icons. The Ubuntu logo can just reference "start-here" icon, or similar, and the window decoration should extract icons from the Window Manager theme.

The next things to implement should be the GTK+ theme's settings for the panel: transparency, BG colour, BG image, font settings, etc

This will also make Unity more portable to other distros, and more customizable like gnome-shell.

Regarding the Launcher, you may be able to use some features of GTK designed for gnome-shell, or GTK may accept some polarimeters designed for Unity specifically - so theme designers could specify different properties to allow the same theme to be used both for Unity, GNOME-shell and GNOME2.

Changed in unity-2d:
milestone: 3.4 → 3.6
Neil J. Patel (njpatel)
Changed in unity:
milestone: 3.4 → 3.6
Changed in unity-2d:
milestone: 3.6 → 3.8
milestone: 3.8 → none
summary: - Launcher & Panel does not respect GTK theme
+ Top Panel does not respect GTK theme
description: updated
Revision history for this message
Matt Sturgeon (mattsturgeon) wrote :

I split this into two bug reports. One for the Launcher and one for the Panel (this is the Panel bug).
See Bug #711982 for the Launcher bug

description: updated
Neil J. Patel (njpatel)
Changed in unity:
assignee: Mirco Müller (macslow) → Neil J. Patel (njpatel)
milestone: 3.6 → 3.4.4
Neil J. Patel (njpatel)
Changed in unity:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 3.4.4-0ubuntu1

---------------
unity (3.4.4-0ubuntu1) natty; urgency=low

  * New upstream release:
    - add systray support (LP: #655140, #596879)
    - Dragging and holding a selection over an entry in the Launcher should
      spread out windows belonging to that application (LP: #607796)
    - Unity shouldn't allow to Quit itself (LP: #705536)
    - Launcher should not be locked in place until the pointer is actually in
      the corner (LP: #706146)
    - Top Panel does not respect GTK theme (LP: #663524)
    - Update Unity-Panel Style implementation (LP: #685830)
    - Add keyboard shortcut for the panel (LP: #701663)
    - clicking on the ubuntu logo doesn't close the dash dialog (LP: #708762)
    - "Escape" doesn't close the dash screen (LP: #711195)
    - migrate_favorites.py crashed with GError in __main__: Bad key or
       directory name: "/desktop/unity/launcher/favorites//type": Can't have
       two slashes '/' in a row (LP: #716382)
    - Icon state does not revert when remote libunity user closes (LP: #716863)
    - transparency in places window a bit too high (LP: #718357)
    - Navigating between menus briefly gives focus back to applications
      (LP: #690714)
    - pace on cursor navigation mode should act like middle click (LP: #717213)
    - Do not switch to fallback menu on mouse-over (LP: #703555)
    - Fix the panel service and menus atk object hierarchy (LP: #704350)
    - Expose home panel button via ATK (LP: #715295)
  * debian/source_unity.py: enhanced apport hook for incoming compiz hook
  * debian/control:
    - bump nux and libunity-misc dep
 -- Didier Roche <email address hidden> Thu, 17 Feb 2011 20:37:42 +0100

Changed in unity (Ubuntu):
status: Triaged → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
tags: added: delta-with-3d
Revision history for this message
Zen Shaolin (zen-shaolin) wrote :

See also: Bug #711982 "Launcher does not respect GTK theme"

Revision history for this message
Joaquin (jknvv13) wrote : Re: [Bug 663524] Re: Top Panel does not respect GTK theme

It happens to Unity 2D

2011/3/23 Zen Shaolin <email address hidden>

> See also: Bug #711982 "Launcher does not respect GTK theme"
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (729016).
> https://bugs.launchpad.net/bugs/663524
>
> Title:
> Top Panel does not respect GTK theme
>
> Status in Unity:
> Fix Released
> Status in Unity 2D:
> Triaged
> Status in “unity” package in Ubuntu:
> Fix Released
>
> Bug description:
> With Gnome Panel (as in standard Gnome 2), changing the GTK theme also
> changes appearance of the panels.
> In Unity, panel always looks like with Ambiance theme.
>
> Note to the implementer: please see my comment #4, the font-style
> should follow the theme, but sizing needs to vary slightly from the
> base application-font in the theme.
>
> See also: Bug #711982 "Launcher does not respect GTK theme"
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/unity/+bug/663524/+subscribe
>

Revision history for this message
André Oliva (gandreoliva) wrote :

Unity 2d panel 3.8.6-ubuntu2~bzr544 (april 19) still doesn't respect the user's GTK theme...

Revision history for this message
Joaquin (jknvv13) wrote :

And the Launcher doesn't change the icons, you have to kill it or reboot to
change it.
El 19/04/2011 15:44, "André Oliva" <email address hidden> escribió:
> Unity 2d panel 3.8.6-ubuntu2~bzr544 (april 19) still doesn't respect the
> user's GTK theme...
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (729016).
> https://bugs.launchpad.net/bugs/663524
>
> Title:
> Top Panel does not respect GTK theme
>
> Status in Unity:
> Fix Released
> Status in Unity 2D:
> Triaged
> Status in “unity” package in Ubuntu:
> Fix Released
>
> Bug description:
> With Gnome Panel (as in standard Gnome 2), changing the GTK theme also
changes appearance of the panels.
> In Unity, panel always looks like with Ambiance theme.
>
> Note to the implementer: please see my comment #4, the font-style
> should follow the theme, but sizing needs to vary slightly from the
> base application-font in the theme.
>
> See also: Bug #711982 "Launcher does not respect GTK theme"
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/unity/+bug/663524/+subscribe

Revision history for this message
Anderson Henrique (andersonhsantanappa) wrote :

This bug continues in the Unity 2D 3.8 series, please fix this in the Unity 2D 3.10 series.

Revision history for this message
Ozgur Kucuktekin (ozgurktekin) wrote :

Panel and Launcher doesn't change the icons and theme until to kill it or reboot to
change it.

tags: added: accessibility
tags: added: a11y
removed: accessibility
Changed in unity-2d (Ubuntu):
status: New → Triaged
Revision history for this message
Anderson Henrique (andersonhsantanappa) wrote :

I do not wanna to be boring, but when will be fixed this bug?

Revision history for this message
Paul Sladen (sladen) wrote :

Anderson: if you can help with a patch or some debugging to narrow down the issue, it can be fixed sooner!

Revision history for this message
Anderson Henrique (andersonhsantanappa) wrote :

Look, I'm a programmer or something like, I'm still studying, but I can try to help with something, but it's not a promises. Today I'll get the code.

Revision history for this message
JC (nothingness) wrote :

If this cannot be fixed, then can something be implemented to select a gtk theme for unity 3d but have it not apply to unity 2d?
In other words, maybe a way to have 2 different theme settings- one for 3d and one for 2d.

Revision history for this message
Danillo (danillo) wrote :

A problem that seems overlooked is that window decorations are still not respected in current Unity panel after the fix, they just reset to default ambiance in maximized windows. See attached png for an example using the Emerald theme Divergence IV. I'm using 3.8.16-0ubuntu1~natty1 in Ubuntu 11.04.

Changed in unity-2d:
assignee: Aurélien Gâteau (agateau) → nobody
Changed in unity-2d:
status: Triaged → Fix Released
Changed in unity-2d (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.