Summary: | Closing the only window on one screen does not focus another window on another screen | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Tomasz Hołubowicz <services> |
Component: | multi-screen | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nate, xaver.hugl |
Priority: | NOR | Keywords: | multiscreen, regression, usability |
Version: | 6.1.90 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/72d64a3b96f1fb7111852f876de2bb68aa7645f5 | Version Fixed In: | |
Sentry Crash Report: |
Description
Tomasz Hołubowicz
2024-09-27 14:49:54 UTC
Was this part intentional, Xaver? Or an unintentional quirk of the intentional changes? (In reply to Tomasz Hołubowicz from comment #0) > If you have one window per screen (at least two screens) and you close one > of them then the other window should be automatically focused (at least this > is how it works for a single screen). Not anymore, focus was intentionally changed to be per screen. You can switch it back in the window behavior -> focus settings > Nothing gets focused. If I start writing something then krunner shows ("Activate when pressing any key on the desktop" setting), but it shows on another screen (not the one where window was closed) which seems like a weird choice. Yeah, that's not supposed to happen. Git commit 47a2a2e12a52d1c28ba1043071190c9707640bee by Vlad Zahorodnii. Committed on 09/10/2024 at 21:18. Pushed by vladz into branch 'master'. Prefer activating desktop window on active output Workspace::findDesktop() doesn't take into account the current active output, and instead returns the first top desktop window found in the stack. This means that the active output may drift and the focus chain logic can break. Related: bug 494332 M +5 -4 src/activation.cpp M +3 -3 src/layers.cpp M +5 -5 src/workspace.cpp M +1 -1 src/workspace.h https://invent.kde.org/plasma/kwin/-/commit/47a2a2e12a52d1c28ba1043071190c9707640bee Git commit 72d64a3b96f1fb7111852f876de2bb68aa7645f5 by Vlad Zahorodnii. Committed on 10/10/2024 at 13:45. Pushed by vladz into branch 'Plasma/6.2'. Prefer activating desktop window on active output Workspace::findDesktop() doesn't take into account the current active output, and instead returns the first top desktop window found in the stack. This means that the active output may drift and the focus chain logic can break. Related: bug 494332 (cherry picked from commit 47a2a2e12a52d1c28ba1043071190c9707640bee) M +5 -4 src/activation.cpp M +3 -3 src/layers.cpp M +5 -5 src/workspace.cpp M +1 -1 src/workspace.h https://invent.kde.org/plasma/kwin/-/commit/72d64a3b96f1fb7111852f876de2bb68aa7645f5 |