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 338638 - the notification bubble is not positioned right if the panel is not on the top of the screen.
the notification bubble is not positioned right if the panel is not on the t...
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: general
2.15.x
Other All
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-04-15 18:53 UTC by Paul Ionescu
Modified: 2006-04-15 23:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot that shows the bug (24.54 KB, image/png)
2006-04-15 18:55 UTC, Paul Ionescu
Details

Description Paul Ionescu 2006-04-15 18:53:51 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).
Comment 1 Paul Ionescu 2006-04-15 18:55:24 UTC
Created attachment 63601 [details]
screenshot that shows the bug
Comment 2 Richard Hughes 2006-04-15 19:03:40 UTC
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.
Comment 3 Richard Hughes 2006-04-15 23:04:14 UTC
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.