| Summary: | Inconsistent Monitor / Screen Indexes for Window Rules | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Aeryn <aeryn.evertson> |
| Component: | rules | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | aeryn.evertson, blues_before_sunrise, ilia-kats, isma.af, mrmazda |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.5 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Aeryn
2025-02-09 22:23:20 UTC
*** Bug 491230 has been marked as a duplicate of this bug. *** I also have this issue. The rules when choosing a screen, you pick a screen number. This aligns with the output numbers that you can see with the command: kscreen-doctor -o The problem is that output numbers are assigned to each monitor in the order they are seen as connected. This is not a constant and can result in monitors not having the same output number between standby/resume and as the OP reported boot and screen standby. The only way I've found to manipulate this is to only have the primary monitor on for boot and turn my second monitor on after. Presumably for more, you turn them on in the order you want. Rules needs a better way to identify screens. Basically what this means is session restore with multiple displays is an abomination. When I reboot, all windows open on primary display, and those that should have opened on other displays open in duplicate. If session is exited without closing the duplicate(s), then on next open they are opened in triplicate, and if repeated, in quad, etc. I always keep app fcl (File Commander http://silk.apana.org.au/fc2development.php) open (virtually) filling virtual desktop 4 on the (upper) right display, with primary being either left or lower left, depending whether I'm using 2 or 3 displays. It religiously gets reopened on the primary in at least 2 copies. |