Top Panel does not respect GTK theme

Reported by Andres on 2010-10-19
292
This bug affects 58 people
Affects Status Importance Assigned to Milestone
Unity
Medium
Neil J. Patel
unity-2d
Medium
Unassigned
unity-2d (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Medium
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) on 2010-10-19
description: updated
Didier Roche (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

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

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.

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
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) on 2010-12-07
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) on 2010-12-09
Changed in unity:
milestone: 3.2.6 → 3.2.8

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) on 2010-12-17
Changed in unity:
milestone: 3.2.8 → 3.4
David Barth (dbarth) on 2011-01-05
Changed in unity:
milestone: 3.4 → 3.2.10
milestone: 3.2.10 → 3.4
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)
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
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)?

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

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

Mark

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

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.

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) on 2011-01-27
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
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) on 2011-02-07
Changed in unity:
assignee: Mirco Müller (macslow) → Neil J. Patel (njpatel)
milestone: 3.6 → 3.4.4
Neil J. Patel (njpatel) on 2011-02-16
Changed in unity:
status: Triaged → Fix Committed
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
Didier Roche (didrocks) on 2011-02-18
Changed in unity:
status: Fix Committed → Fix Released
tags: added: delta-with-3d
Zen Shaolin (zen-shaolin) wrote :

See also: Bug #711982 "Launcher 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
>

André Oliva (gandreoliva) wrote :

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

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

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

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
Didier Roche (didrocks) on 2011-05-31
Changed in unity-2d (Ubuntu):
status: New → Triaged

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

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!

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.

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.

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  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments