Bug 489589

Summary: External monitors are not recognized until kwin is restarted
Product: [Plasma] kwin Reporter: aronkvh
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, xaver.hugl
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.1.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: Plasma 6.3.0 or earlier
Sentry Crash Report:

Description aronkvh 2024-07-02 09:44:25 UTC
SUMMARY
If I connect a monitor, Plasma doesn't recognize it until I run kwin_wayland --replace.

STEPS TO REPRODUCE
1. Log in to Plasma
2. Connect an external monitor
3. Turn on the monitor
4. Try unplugging and reconnecting it several times
5. The monitor doesn't show up in settings and isn't connected
6. Run kwin_wayland --replace
7. The screen is automatically connected

Operating System: openSUSE Tumbleweed 20240629
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa IntelĀ® Graphics
Manufacturer: SLIMBOOK
Product Name: HERO-RPL-RTX
Comment 1 Nate Graham 2024-07-03 23:01:34 UTC
Does this happen in a new clean user account as well?
Comment 2 aronkvh 2024-07-06 12:03:38 UTC
(In reply to Nate Graham from comment #1)
> Does this happen in a new clean user account as well?

It doesn't seem to happen on a new account, and it doesn't happen every time on my main account either, just almost every time
Comment 3 Bug Janitor Service 2024-07-21 03:46:22 UTC Comment hidden (spam)
Comment 4 Nate Graham 2024-07-22 20:44:37 UTC
If you move aside your user account's ~/.local/share/kscreen folder and reboot, does it stop happening?
Comment 5 aronkvh 2024-07-23 10:01:39 UTC
(In reply to Nate Graham from comment #4)
> If you move aside your user account's ~/.local/share/kscreen folder and
> reboot, does it stop happening?

It's still happening
Comment 6 Nate Graham 2024-07-23 14:11:12 UTC
Thanks. How strange.
Comment 7 aronkvh 2025-05-28 20:56:09 UTC
Fwiw, this doesn't happen on Fedora 42, should I close it?
Comment 8 Nate Graham 2025-05-28 21:23:00 UTC
Yep!