GNOME Bugzilla – Bug 665776
application launchers are not properly scaled with gtk 3.2/gnome-themes-standard 3.2
Last modified: 2012-06-08 21:47:46 UTC
Created attachment 203049 [details] GNOME panel 3.0 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651336 In GNOME 3.2, application launchers are not properly sized. In addition, they have a strange resize effect if you move the mouse over them after login. I've attached screenshots of gnome-panel in GNOME 3.0 and 3.2 and a screencast of the resize effect. This seems to be due to changes in gtk 3.2 and gnome-themes-standard 3.2.
Created attachment 203050 [details] GNOME panel 3.2
Created attachment 203051 [details] resize effect on mouse over
The size of the icons is related to the size of the panel: icon will be 22x22 if the panel is 22 or 23 pixels tall, 24x24 if the panel is between 24 and 31 pixels, etc.. And the size of the panel is restricted by the height of text (see calculate_minimum_height() in panel-toplevel.c). So unfortunately, the panel works as expected here. What's weird, though, is that the font doesn't look that big in your screenshot... Can't you make the panel a bit smaller in the properties? Re the resize effect... That's weird. I guess we suddenly gets some padding, or something like this. This happens with the Raleigh theme, so it's unrelated to Adwaita.
I somehow suspect it's related to the CSS related theming changes in GTK 3.2, but that is only a guess. I assume you tested with the Raleigh theme and you can reproduce the issue? Afaics the font size has not really changed. The "default" panel size seems to be 24 pix. I used the settings dialog and tried to change the size. The min size is 23 pix, but I get no visible change between 23-32 pix. So I can't make the panel smaller as seen in the screenshots. Only for sizes >= 32 the panel actually reacts to size changes.
Not sure why I haven't checked master first, but looking at the log there have been some relevant commits (by you), so I cherry-picked the following patches from the master branch: 9042d29697038c78e4c8da32e8a9f5a136a90bea 12b371c4211ec5d17cf799cb3ee628ffd577cbf6 743b3deaa1c7b4caac2d4fc74f5796af5e136880 cff8f9f22a031ca1ccab06a1460f8984d97f871f The icon sizes of the application launchers and the status menu look much better now. The only small glitch I can still notice, is that the icon move slightly to the right if I move over them (see attached ogv)
Created attachment 203083 [details] mouse over effect
I don't see the icon moving anymore in master (with GTK+ master). Do you have an opportunity to test this?
Michael, were you able to test with GTK+ master ?
(In reply to comment #8) > Michael, were you able to test with GTK+ master ? In the mean time I'm using GTK 3.3.20, gnome-panel 3.3.92 and gnome-themes-standard 3.3.92 and now the systray icons are broken, i.e. the volume,battery and bluetooth icons in the notification area are too big.
Closing this bug. The application launchers work fine with GNOME 3.4. As for the notification are issues, I've filed a separate Bug#674445