GNOME Bugzilla – Bug 674445
layout and size issues in notification area
Last modified: 2015-06-08 21:48:37 UTC
In GNOME 3.4, the notification area has serious layout and size issues. All the relevant compontents are from GNOME 3.4 gtk 3.4.1 gnome-themes-standard 3.4.1 gnome-panel 3.4.1 The (default) panel size is 24pix I've attached a series of pictures where you can see several problems screenshot1.png: made directly after login. - The icons for sound, battery and bluetooth look too big. screenshot2.png: started a few additional applications which use the notification area. - The distance between the different icons in the notification varies and is uneven. screenshot3.png: killed gnome-panel, so it was restartet. - The distance between the icons is more balanced, but still not completely correct - The order of the icons changed randomly. screenshot4.png: stopped the additional applications from 2/, to get back to the original state.
Created attachment 212393 [details] screenshot1
Created attachment 212394 [details] screenshot2
Created attachment 212395 [details] screenshot3
Created attachment 212396 [details] screenshot4
(In reply to comment #0) > In GNOME 3.4, the notification area has serious layout and size issues. > All the relevant compontents are from GNOME 3.4 > gtk 3.4.1 > gnome-themes-standard 3.4.1 > gnome-panel 3.4.1 > > The (default) panel size is 24pix > > I've attached a series of pictures where you can see several problems The icons on the left side (applications starters) have much less padding then the icons in the notification area.
Can you play with the setting documented in http://git.gnome.org/browse/gnome-panel/commit/applets/notification_area?id=ae637906f49f467e4ad8d7cf5f83d63f9cfbe6b7 ? I see this in adwaita which is likely relevant: -NaTrayApplet-icon-padding: 12; Also, are the apps you use to test GTK+ apps?
(In reply to comment #6) > Can you play with the setting documented in > http://git.gnome.org/browse/gnome-panel/commit/applets/notification_area?id=ae637906f49f467e4ad8d7cf5f83d63f9cfbe6b7 > ? > > I see this in adwaita which is likely relevant: -NaTrayApplet-icon-padding: 12; will test > Also, are the apps you use to test GTK+ apps? It was a mix, I used GTK2 apps, Qt/KDE apps and notifications (triggered via notify-send)
(In reply to comment #7) > (In reply to comment #6) > > Also, are the apps you use to test GTK+ apps? > > It was a mix, I used GTK2 apps, Qt/KDE apps and notifications (triggered via > notify-send) Ok. I'm unsure if the padding works in non gtk3 apps, so that could explain part of the weirdness.
(In reply to comment #8) > [...] > Ok. I'm unsure if the padding works in non gtk3 apps, so that could explain > part of the weirdness. The padding suggested by Vincent is for NaTrayApplet, which should restrict the space available for any icon inside.
(In reply to comment #6) > Can you play with the setting documented in > http://git.gnome.org/browse/gnome-panel/commit/applets/notification_area?id=ae637906f49f467e4ad8d7cf5f83d63f9cfbe6b7 > ? > > I see this in adwaita which is likely relevant: -NaTrayApplet-icon-padding: 12; Playing around with NaTrayApplet-icon-padding didn't really help. It did have a certain influence on the vertical distribution of the icons, but that's all. I still had the problem of the icons being too big (compare the icons in the screenshot with the one from gnome-shell), the vertical alignment being messed up between the different kinds of applications. This might be theme/gtk+ related as I dont't remember seing that problem in GNOME 3.2 and gnome-panel didn't really have relevant changes afaics. Right now the notification area in GNOME 3.4 is pretty much broken.
Not sure if it is relevant, but if I run notification-daemon from the console and call "notify-send foo", I get the following log message: (notification-daemon:1805): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -23 and height 24 width -23 ???
*** Bug 675912 has been marked as a duplicate of this bug. ***
Is there are workaround, a fix or a build we can try here? Speaking from Fedora 17 perspective.
I too am experiencing this behavior, I can test patches if needed. Thanks, Antonio
I think this somehow just got better in Fedora 17. The gaps between icons seem a bit smaller. Would anyone hazard a guess as to what may have contributed to a slightly better look here?
(In reply to comment #15) > I think this somehow just got better in Fedora 17. The gaps between icons seem > a bit smaller. And reverted back to what it was after logout/login. Truly mysterious...
(In reply to comment #11) > Not sure if it is relevant, but if I run notification-daemon from the console > and call "notify-send foo", I get the following log message: > > (notification-daemon:1805): Gtk-WARNING **: gtk_widget_size_allocate(): attempt > to allocate widget with width -23 and height 24 > > width -23 ??? I am seeing this too.
It seems to me that only the "new" icons, the one in the form of SVG, have a problem here.
(In reply to comment #15) > I think this somehow just got better in Fedora 17. The gaps between icons seem > a bit smaller. > > Would anyone hazard a guess as to what may have contributed to a slightly > better look here? After ever suspend/resume, the gaps get smaller.
Is this going to be addressed in 3.6? Can someone point to a commit that maybe fixed it?
any news?
In 3.6 it seems that the icons have the good size, but some of them are still separated by too much space. But the fallback mode is not maintained anymore.
Is this still an issue with current version?
(In reply to Alexandre Franke from comment #23) > Is this still an issue with current version? Not for me.
This seems to have been fixed in the meantime. Feel free to reopen if you face the issue again.