Bug 452254 - Window switch "their" monitor after unplug+replug (maybe regression of 5.24)
Summary: Window switch "their" monitor after unplug+replug (maybe regression of 5.24)
Status: RESOLVED DUPLICATE of bug 452247
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.24.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-04 08:45 UTC by Jiri Slaby
Modified: 2022-04-04 20:55 UTC (History)
1 user (show)

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 Jiri Slaby 2022-04-04 08:45:39 UTC
This is maybe a dup of bug 452247?

SUMMARY
When I unplug an external monitor connected via Thunderbolt and replug it, all windows switch "their" monitor. I.e. if a window was on the laptop monitor, it is now on the external one and vice versa.

STEPS TO REPRODUCE
1. plug in an external monitor
2. move some windows there
3. unplug + replug

OBSERVED RESULT
The windows are on the opposite monitors.

EXPECTED RESULT
The window's monitor should be preserved.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220402
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Kernel Version: 5.16.9-3.gdedbf20-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-6600U CPU @ 2.60GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

ADDITIONAL INFORMATION
This happens likely since 5.24. I did not see this before.
Comment 1 Nate Graham 2022-04-04 20:55:38 UTC
Yep looks like it.

Notably this is not an issue with the X11-specific code to position some KDE windows since you're on Wayland.

*** This bug has been marked as a duplicate of bug 452247 ***