Comment 11 for bug 757652

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: [panel] The main panel is not on the primary monitor in a dual-head setup

@Joel, Jani: let me try to summarize what the expected behaviour is (by design): there should be one panel per monitor. The panel that is on the same monitor as the launcher has additional "features" compared to the panels on the other monitors: it has the ubuntu button that invokes the dash, and it hosts the legacy systray icons. All panels can display the window controls and title, as well as application/system indicators (like sound/datetime/me menu…). The window controls and application title for the active window will appear only in the panel that is on the same screen as the active window.

Now, considering that the launcher must always be on the leftmost monitor (because space for panels, aka struts, can only be reserved at the edges of the virtual desktop), as a consequence the "main" panel (the one that has the ubuntu button and that hosts the systray) should also always be on the leftmost monitor. IIRC the code that handles this tests on the primary monitor rather than the leftmost one, which is probably the cause of the issue.