Bug 365650 - After unplug external screens, windows do not come back to current screen
Summary: After unplug external screens, windows do not come back to current screen
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: xrandr (show other bugs)
Version: 5.5.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-14 08:05 UTC by Guo Yunhe
Modified: 2016-10-18 10:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guo Yunhe 2016-07-14 08:05:23 UTC
This problem related to laptop resume & multiple-screen.

When laptop is in resume state, and user unplug cables of external screen, KDE will not move the window from external screen to laptop screen after resume system. This cause users cannot use the window anymore. They cannot move the window through "move to screen" menu, because here is only one screen now. They can only close the window. But what if you have some important data that didn't save in that application?

Reproducible: Always

Steps to Reproduce:
1. Connect laptop with a second screen with HDMI or VGA.
2. Move a window to second screen.
3. Close laptop so it is in sleep mode.
4. Disconnect the second screen by unplug HDMI or VGA cables.
5. Resume laptop.
6. Open the window that you moved into the second screen.

Actual Results:  
After resume laptop, the window in the second screen will not come back to current laptop screen automatically.

Expected Results:  
All windows should be forcely returned to current screen.
Comment 1 Thomas Lübking 2016-07-14 08:10:27 UTC
please dump and attach the output of "xrandr -q" in the troublesome single-screen situation (ie. after unplug/resume/windows lost)
Comment 2 Martin Flöser 2016-08-27 15:22:16 UTC
Please provide the information asked in comment #1 - without we cannot further investigate.
Comment 3 Guo Yunhe 2016-10-18 10:30:10 UTC
Cannot reproduce this anymore since KDE was updated to 5.8.0. Should be an invalid or fixed issue.