Bug 515289 - KWin Doesn't Notice Monitor has Changed While it was Sleeping
Summary: KWin Doesn't Notice Monitor has Changed While it was Sleeping
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 6.4.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-30 02:50 UTC by Christopher Vollick
Modified: 2026-01-30 02:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Vollick 2026-01-30 02:50:08 UTC
SUMMARY

I have a laptop which I use with a monitor at home, and a monitor at work, and I basically never use the screen of the laptop. If I'm at home and I put the laptop to sleep, then unplug it, carry it to work, plug it in, and then wake it up, it still uses the settings from my home monitor (like the UI scale). If I go to the "Display Configuration" section in the settings panel, it will even list the name of the home monitor while I'm at work.

This can be avoided by waking the laptop without a monitor first, waiting for it to reconfigure, then plugging the monitor in. Both my home and work monitors are plugged in via USB-C through a hub.

STEPS TO REPRODUCE
1. Plug laptop into one monitor and close screen.
2. Note the name of the monitor in the settings panel
3. Set the scale to 200% or something obvious
4. Suspend the laptop
5. Without waking the laptop, unplug the monitor, and plug the laptop into a different monitor
6. Wake the laptop (in this my case by opening and closing the lid)

OBSERVED RESULT

Notice that the settings panel lists the old monitor's name, and is still using 200% scale. If you change that setting, it will be saved for the old monitor in the settings.

EXPECTED RESULT

It would list the currently attached monitor and use the settings from that monitor.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version:  6.17.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION

I'm on wayland