GNOME Bugzilla – Bug 659861
With 2 monitors, message tray appears on wrong monitor
Last modified: 2011-09-29 17:15:23 UTC
Created attachment 197283 [details] Screenshot gnome-shell 3.1.92-1 from arch gnome-unstable I have 2 monitors. Actual: The top bar of gnome-shell is on the left monitor. The message tray now appears on the right monitor Notification appear on the right, but if I click on a icon in the message tray, the menu appears on the left monitor. Expected: Everything mentioned on the left, as before.
Created attachment 197287 [details] [review] boxpointer: Don't constrain box pointer to primary monitor A boxPointer should be able to be attached to any actor, not just ones on the primary monitor. Assume that the sourceActor doesn't straddle monitors, and constrain the boxPointer to the monitor the sourceActor is on. -- Untested patch to fix the multimon issues with the summary pointer. Not sure why your second monitor is getting marked as the "bottom" monitor.
So my monitors were layed out like this: __________ | |_________ | LVDS | | | | VGA | |__________|_________| When I chaged it to following, the problem went away: ____________________ | | | | LVDS | VGA | | |_________| |__________| I'll give your patch a try on the weekend.
Comment on attachment 197287 [details] [review] boxpointer: Don't constrain box pointer to primary monitor yes, looks good
(In reply to comment #2) > So my monitors were layed out like this: > > __________ > | |_________ > | LVDS | | > | | VGA | > |__________|_________| > > > When I chaged it to following, the problem went away: > > ____________________ > | | | > | LVDS | VGA | > | |_________| > |__________| > > > I'll give your patch a try on the weekend. Yes, there seem to be multiple problems with the layout code: 1. a monitor is considered above-or-below the primary when it is merely touching it on the left or right edge 2. a monitor is considered below the primary if its top is below the primary's top (rather than if its bottom is below the primary's bottom) Given Jasper's fix, I think we can survive with this until 3.2.1. Most people top-align their monitors rather than bottom-aligning them anyway.
Attachment 197287 [details] pushed as 7a8a189 - boxpointer: Don't constrain box pointer to primary monitor