Bug 381141 - [multiscreen]: Panel weirdness switching between single/dual head
Summary: [multiscreen]: Panel weirdness switching between single/dual head
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Final
Hardware: Other Other
: P2 - High : Normal (vote)
Target Milestone: Future/Later
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard: core-desktop, wrong-position, gnome-f...
Keywords:
Depends on:
Blocks: randr-tracker
  Show dependency treegraph
 
Reported: 2008-04-18 02:33 UTC by Magnus Boman
Modified: 2009-09-18 22:16 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Boman 2008-04-18 02:33:11 UTC
If I use dual head and then add a new panel to the "external monitor", the panel will be moved to the "internal monitor" once the external one is unplugged. This is ok. But when I go back to dual head, that panel should move back. This does not currently happen.
Comment 1 Simon Crute 2009-04-30 13:56:47 UTC
Also strange is, when I plugin an external monitor, (non-mirrored config) it (sometimes) gets the default panel. However, it does not get the default Desktop folder. The default desktop should stay with the default pannel. 

Ideally the display to hold the default pannel/Desktop should be selectable from the Configure Display Settings applet.
Comment 2 Federico Mena Quintero 2009-04-30 21:18:01 UTC
Hmm.  AFAIK the panel currently does this:

1. Save the monitor number for each panel --- "this panel goes in monitor 0", or "monitor 1", etc.

2. If a monitor disappears, the corresponding panels get moved to another monitor (which one?  I'm not sure --- probably just monitor 0).

3. If a monitor appears again, the panels should move back to it.

So Magnus's problem is that (3) isn't happening.  Somewhere, the panel is (re)writing its configuration to say "the panel is in monitor 0", rather than leaving "monitor 1" in the configuration.

Simon's problem is that (3) happens sometimes.  So, sometimes his panel configuration says "panel is in monitor 1" --- sometimes it is preserved, sometimes it isn't.

I'll look for the place where the panel saves this configuration; it's probably just rewriting it at the wrong time.

However, the *real* solution for this would be for the panel to not use monitor numbers (which can come and go as you add/remove monitors --- in most cases you'll just have monitors 0 and even 1, though).  Instead, the panel should be able to remember explicit monitor configurations --- grep for "keying monitor configurations" in http://live.gnome.org/RandR1.2
Comment 3 Vincent Untz 2009-09-18 22:16:39 UTC
I've fixed this upstream. Yay!