Bug 366820

Summary: When pluging in a new screen, windows move to the left screen.
Product: [Plasma] kwin Reporter: Olivier Churlaud <olivier>
Component: xrandrAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: notmart, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.7.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Olivier Churlaud 2016-08-16 09:25:50 UTC
When I plug a second screen, all windows move to the left screen, instead of staying on the current or moving to the primary screen.

Please tell me what info you would need to debug this in more details.

Reproducible: Always
Comment 1 Martin Flöser 2016-08-16 09:29:03 UTC
The windows are not moved at all. Windows have a position in their X virtual space. E.g. 0/0 when plugging in a screen left of the current screen the windows keep their position in the X virtual space. So they are still on 0/0, but that's now mapped to a different output.

There is nothing one can do about it. Windows are positioned on the virtual space not on an output. We cannot know what the user expects and what the applications expect.
Comment 2 Olivier Churlaud 2016-08-16 09:36:38 UTC
Then you can close it. Now it makes sense, but it wasn't before :)