After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665776 - application launchers are not properly scaled with gtk 3.2/gnome-themes-standard 3.2
application launchers are not properly scaled with gtk 3.2/gnome-themes-stand...
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
3.2.x
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-08 10:21 UTC by Michael Biebl
Modified: 2012-06-08 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GNOME panel 3.0 (5.02 KB, image/png)
2011-12-08 10:21 UTC, Michael Biebl
Details
GNOME panel 3.2 (6.72 KB, image/png)
2011-12-08 10:21 UTC, Michael Biebl
Details
resize effect on mouse over (34.76 KB, video/ogg)
2011-12-08 10:22 UTC, Michael Biebl
Details
mouse over effect (31.72 KB, video/ogg)
2011-12-08 16:34 UTC, Michael Biebl
Details

Description Michael Biebl 2011-12-08 10:21:18 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.
Comment 1 Michael Biebl 2011-12-08 10:21:39 UTC
Created attachment 203050 [details]
GNOME panel 3.2
Comment 2 Michael Biebl 2011-12-08 10:22:54 UTC
Created attachment 203051 [details]
resize effect on mouse over
Comment 3 Vincent Untz 2011-12-08 11:07:18 UTC
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.
Comment 4 Michael Biebl 2011-12-08 11:32:04 UTC
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.
Comment 5 Michael Biebl 2011-12-08 16:33:19 UTC
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)
Comment 6 Michael Biebl 2011-12-08 16:34:16 UTC
Created attachment 203083 [details]
mouse over effect
Comment 7 Vincent Untz 2012-02-02 10:28:02 UTC
I don't see the icon moving anymore in master (with GTK+ master). Do you have an opportunity to test this?
Comment 8 Akhil Laddha 2012-03-24 11:24:26 UTC
Michael, were you able to test with GTK+ master ?
Comment 9 Michael Biebl 2012-03-24 12:04:52 UTC
(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.
Comment 10 Michael Biebl 2012-06-08 21:47:46 UTC
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