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 586589 - Banshee.NotificationArea assumes that the panel is on the first monitor.
Banshee.NotificationArea assumes that the panel is on the first monitor.
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Other Extensions
git master
Other All
: Normal trivial
: 1.x
Assigned To: Alexander Kojevnikov
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-22 05:06 UTC by Chow Loong Jin
Modified: 2009-07-03 19:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of issue (101.47 KB, image/png)
2009-06-22 07:03 UTC, Mike Rooney
  Details
Fixes notification area popup positioning on multi-monitor systems (1.37 KB, patch)
2009-06-22 08:21 UTC, Alexander Kojevnikov
committed Details | Review

Description Chow Loong Jin 2009-06-22 05:06:32 UTC
Please describe the problem:
On a dual head setup where gnome-panel is configured to appear on the second monitor, Banshee's notification area tooltip appears on the first monitor anyway.

Steps to reproduce:
1. Set up a dual head monitor configuration
2. Configure gnome-panel to appear on the second monitor (set /apps/panel/toplevels/top_panel_screen0/monitor to 1)
3. Move the cursor over Banshee's notification area, while Banshee is playing media.

Actual results:
Banshee's tooltip appears on the first monitor.

Expected results:
Banshee's tooltip appears under the panel.

Does this happen every time?
Yes, even if Banshee is restarted after the change.

Other information:
Comment 1 Chow Loong Jin 2009-06-22 05:14:05 UTC
Okay, for some reason bugzilla won't allow me to upload a screenshot, so here's a link to it: http://files.getdropbox.com/u/169656/banshee-multihead.png
Comment 2 Mike Rooney 2009-06-22 07:03:20 UTC
Created attachment 137153 [details]
screenshot of issue

I'm experiencing this as well with nvidia's twinview. I've attached a screenshot; the left monitor is the one with black at the bottom, and the second monitor is where the browser is maximized.

As Alex says "it appears it's the same issue: what happens is that banshee assumes the panel is on the first monitor, but calculates the coordinates using the screen size of the second monitor... it then applies the coordinates to the first monitor, the result is that the notification appears on the second because the first one is too small"
Comment 3 Alexander Kojevnikov 2009-06-22 07:42:19 UTC
Confirming.
Comment 4 Alexander Kojevnikov 2009-06-22 08:21:59 UTC
Created attachment 137157 [details] [review]
Fixes notification area popup positioning on multi-monitor systems
Comment 5 Chow Loong Jin 2009-06-22 09:43:33 UTC
Cool work, thanks! It works perfectly now.
Comment 6 Bertrand Lorentz 2009-06-27 12:52:56 UTC
I can't test this with 2 monitors, but it looks good and doesn't break anything with only one monitor.
Alex, please commit.
Thanks !
Comment 7 Alexander Kojevnikov 2009-06-27 13:03:23 UTC
Thanks for the review Bertrand, committed!
Comment 8 Mike Rooney 2009-07-03 19:09:31 UTC
Works great, thanks!