GNOME Bugzilla – Bug 338638
the notification bubble is not positioned right if the panel is not on the top of the screen.
Last modified: 2006-04-15 23:04:14 UTC
I have gpm compiled with libnotify. When I pull out the AC adapter, I receive a notification bubble that warns me about it. The notification bubble is pointing to the lower part of the gpm icon, and if the panel is at the bottom of the screen, the arrow of the bubble point outside of the screen. One solution is to do like NetworkManager, which sets the bubble to point to the middle of the notification icon. Other solution is to check where the panel is, and set the pointer in the right position (this would be more complicated than previous one, but more eye pleasant too).
Created attachment 63601 [details] screenshot that shows the bug
Good catch. I really want to wait for the HIG recomendations on the libnotify stuff, but my gut instinct is to say the "outside" (rather than the center) of the icon makes most sense.
Okay, according to d-d-l we should just pass in the location of the widget and let notification-daemon decide where to point. Makes sense I guess, and is easy to impliment using libnotify. 2006-04-16 Richard Hughes <richard@hughsie.com> * src/gpm-tray-icon.c (libnotify_event): Point to the center of the icon so we conform to the GNOME HIG and match the behaviour of NetworkManager. Fixes #338638. Thanks for the bug.