Bug 249489 - Panel placement not handled intelligently and consistently when using multi-head...
Summary: Panel placement not handled intelligently and consistently when using multi-h...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Unmaintained
Component: multiscreen (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 09:37 UTC by Adam Jorgensen
Modified: 2011-10-31 19:50 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Jorgensen 2010-08-30 09:37:48 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

I use a multi-head setup with my laptop and an external CRT. My GPU is an Radeon HD 4570 and I'm using the open source radeon driver. The laptop display is designated as primary. I manage multi-head using a simple shell script that is run after KDE starts which uses xrandr to configure multi-head.

My setup is simple, with roughly identical panels at the bottom of each display feature launcher, pager, task manager, system tray, datetime and lock/logout buttons.

In KDE 4.4 this works correctly. Initially KDE launches and is running in clone mode. Then the xrandr script runs and if the external CRT is not plugged in that display is disabled completely and the panel displayed on that monitor is hidden. If the display is plugged into xrandr runs and switches the displays from the default clone setup to the multi-head setup and the two panels are displayed each on their own display in their bottom edge position.

In KDE 4.5 this does not work correctly. KDE starts in clone mode but *both* panels are displayed on the screen, overlapping on the bottom edge. After startup, the xrandr script runs and configures the multi-head as above. If the external CRT is plugged in it switches the resolutions correctly but the panels remain in their position with both on the one screen overlapping. I can manually move the panel to the other screen but the position is not saved and if I logout and login again the setup reverts to the overlapping issue.

I'm guessing the panels state is not being saved correctly or something?

Reproducible: Always

Steps to Reproduce:
0: Ensure X runs in clone mode by default
1: Login KDE 4.5
2: Use xrandr to configure a multi-head display setup
3: Make sure there is a panel on each page
4: Logout
5: Login again
6: Both panels should appear on the single cloned display
7: Run xrandr to configure multi-head
8: Multi-head is configured but panels remain on one screen

Actual Results:  
Both panels appear on a single screen overlapping.

Expected Results:  
If operating in single-head/clone mode only one panel should be visible. When running in multi-head mode both panels should be visible, each on their own display.

OS: OpenSuse 11.3 64-bit
GPU: ATI Radeon HD 4570
Driver: OSS Radeon driver
Comment 1 Thomas Lübking 2010-08-30 09:55:05 UTC
panels are plasma stuff, but this might be related to bug #247688 ?

@adam: what's your distro?
Comment 2 Adam Jorgensen 2010-08-30 10:00:44 UTC
As stated, OpenSuse 11.3 64-bit
Comment 3 Adam Jorgensen 2010-08-30 10:02:04 UTC
If I assigned this bug to the wrong component please move it :-)
Comment 4 Thomas Lübking 2010-08-30 19:42:31 UTC
sorry, skipped reading the last block =\

attaching will, since it might be a kephal thing and kwin to keep track
Comment 5 Will Stephenson 2010-08-30 20:21:33 UTC
I suspect already that QDesktopWidget does not report screen numbers stably with nvidia.  I'll get an ATI^WAMD system set up soon to test.
Comment 6 Andrew Gallant 2010-09-18 20:44:25 UTC
I can also confirm this behavior with an nVidia 8600M GT card (propietary driver). I have to re-adjust the panels each time I connect another display. (I'm currently just letting one panel sit behind the other, so I don't have to re-create it.)

I'm using KDE 4.5.1 from the Archlinux x64 repos.
Comment 7 plabo 2010-10-07 11:45:27 UTC
Can confirm this

opensuse 11.3, KDE 4.5.2
Intel X4500 Integrated Graphics

However, running xrandr --OUTPUT LVDS1 --primary
seems to make things at least a bit better (this is what I currently run on login in xinit) However, connecting an external screen AFTER login still sometimes results in the panels on the wrong screen.

Another (maybe related) issue is that upon undogging from my dogging station, the internal LCD screen is switched of and only the external VGA screen is active (which should be the other way round)...
Comment 8 Andrew Gallant 2010-10-13 19:09:39 UTC
This seems to be fixed for me in KDE 4.5.2.