Bug 490050

Summary: Window rules present screens as opaque numeric values
Product: [Plasma] kwin Reporter: Raman Gupta <rocketraman>
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: isma.af
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Raman Gupta 2024-07-10 20:22:56 UTC
SUMMARY

When using the "Screen" option of Window Rules on a multi-monitor system, the value expected is an opaque integer like 0, 1, or 2.

The meaning of these integers is not clear, and does not correspond to any known value in the Display Configuration, which now appears to use monitor model/serial to identify screens.

Through experimentation, it turns out on my system that 0 is my left monitor, 1 is my middle, and 2 is my right, but that certainly isn't obvious. Ideally the Window Rules dialog would have a drop-down for screen, where the naming convention is consistent with Display Configuration.

Linux/KDE Plasma: 
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.6-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × 12th Gen Intel® Core™ i9-12900KS
Memory: 124.8 GiB of RAM
Graphics Processor: AMD Radeon RX 6600 XT
Manufacturer: ASUS
Comment 1 Ismael Asensio 2024-07-12 09:29:40 UTC

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