| Summary: | [wayland] kwin does not remember the active window per-virtual desktop with multiple screens | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Oded Arbel <oded> |
| Component: | multi-screen | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | goo, kde |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Oded Arbel
2024-09-24 08:55:10 UTC
If you uncheck "separate screen focus" in Window Behavior settings, is there any difference? (In reply to Vlad Zahorodnii from comment #1) > If you uncheck "separate screen focus" in Window Behavior settings, is there > any difference? That seems to be the issue. I remember playing with that a while ago, but I'm pretty sure I left it disabled. I've noticed that "separate screen focus" is now the default behavior (i.e. it turns on when I press the "Defaults" button) - which I'm pretty sure it wasn't before. There was a deliberate defaults change: d0c4aeeb08f3530c71bfe207e9c82699ca74d4e0
That MR does say:
When the user closes the active window, with separate screen focus disabled, a
window on the other screen might get activated, which also switches the active
screen to the other one. As this is quite unintuitive, and in my testing having
separate screen focus enabled didn't have any other unintuitive side effects,
this commit enables separate screen focus by default
Which is clearly not entirely true.
Caching active output per VD is do-able, then if we restore that before we restore the appropriate window, we fix the issue listed here without changing the setting.
But potentially that breaks the workflow of users who truly want separate focus per screen. Needs a bit of discussion.
Lets consider this intentional, you have the setting to change behaviour back. We'll keep an eye on future reports, if lots of others complain we'll cache active output per VD. (In reply to David Edmundson from comment #4) > Lets consider this intentional, you have the setting to change behaviour > back. > > We'll keep an eye on future reports, if lots of others complain we'll cache > active output per VD. Personally I do use separate screen focus and would love to see per VD cached active output. In my mind I'd expect that each virtual desktop/activity has its own per screen active output. I didn't find any reason to not have it, yet. |