GNOME Bugzilla – Bug 586589
Banshee.NotificationArea assumes that the panel is on the first monitor.
Last modified: 2009-07-03 19:09:31 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:
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
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"
Confirming.
Created attachment 137157 [details] [review] Fixes notification area popup positioning on multi-monitor systems
Cool work, thanks! It works perfectly now.
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 !
Thanks for the review Bertrand, committed!
Works great, thanks!