Bug 461217 - After making the secondary screen primary and disabling the main screen, some windows stick on the disabled screen
Summary: After making the secondary screen primary and disabling the main screen, some...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
: 461860 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-10-30 19:48 UTC by postix
Modified: 2023-03-14 17:35 UTC (History)
3 users (show)

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


Attachments
kWin Support Info: Initial state, both screens enabled (7.03 KB, text/plain)
2022-10-30 19:48 UTC, postix
Details
kWin Support Info: After making the secondary screen primary and disabling the originally primary screen (6.95 KB, text/plain)
2022-10-30 19:49 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-10-30 19:48:42 UTC
Created attachment 153339 [details]
kWin Support Info: Initial state, both screens enabled

SUMMARY

After making the secondary screen primary and disabling the main screen, some windows stuck on the disabled output:

In my case these were Firefox (Wayland native), Thunderbird, KSystemMonitor and Gajim.
Other opened applications, such as Systemsettings, KeePassXC and and Strawberry were correctly moved to the only enabled screen.

When I repeated it it changed a little, e.g. Thunderbird was now moved correctly. It seems somehow random though.

STEPS TO REPRODUCE
1. Two screens, applications opened on several VDs on the primary screen
2. In KScreen: Disable the output and make the secondary screen primary
3. Hit apply

OBSERVED RESULT
Clicking on some of the app's icons in the taskmanager shows an animation that the window becomes opened and minimized on the now disabled screen.
Re-starting the application "fixes" the issue.

EXPECTED RESULT
All apps correctly move to the only enabled primary screen.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20221028
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.1.0-rc2 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 postix 2022-10-30 19:49:37 UTC
Created attachment 153340 [details]
kWin Support Info: After making the secondary screen primary and disabling the originally primary screen
Comment 2 Zamundaaa 2022-11-16 14:17:58 UTC
*** Bug 461860 has been marked as a duplicate of this bug. ***