Bug 507155

Summary: "Screens" checkbox under "Filter windows by" doesn't appear when only one screen is available
Product: [Applications] systemsettings Reporter: Alexander Potashev <aspotashev>
Component: kcm_kwintabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kdedev, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Potashev 2025-07-17 13:47:41 UTC
SUMMARY
"Screens" checkbox under "Filter windows by" doesn't appear when only one screen is available.

STEPS TO REPRODUCE
1. I would like to set "Filter windows by... Screens: Current screen".
2. 
3. 

OBSERVED RESULT
No such UI element in the KCM.

Workaround: connect an external monitor temporarily, restart the KCM, update the settings, disconnect the monitor.

EXPECTED RESULT
The UI element should be available in the KCM.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux rodete 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.27-1rodete1-amd64 (64-bit)
Graphics Platform: X11
Processors: 14 × Intel® Core™ Ultra 7 165U
Memory: 62.3 GiB of RAM
Graphics Processor: Intel® Graphics

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-07-21 21:17:54 UTC
Confirmed this behavior on git-master. It looks like this is by design, but I see the usefulness of being able to change this setting regardless of whether a second screen is currently connected and active or not. We live in a world where laptops are connected and disconnected from external monitors regularly.