Summary: | Missing windows from Alt-Tab switcher on Wayland when the application opens a dialog on launch | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Balló György <ballogyor> |
Component: | tabbox | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, nate, postix |
Priority: | HI | ||
Version: | 6.2.4 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/8babbae2a9f03a120fa3cda32bc72850f33ad4d0 | Version Fixed In: | 6.3.0 |
Sentry Crash Report: |
Description
Balló György
2024-12-31 19:46:17 UTC
Can reproduce. The window was filtered out deliberately before, and then the main window never ended up in the workspace focusChain when the modal dialog is closed. It seems the underlying bug is that when closing a modal dialog focus never passes to the transient parent immediately. That would implicitly fix this. It fixes itself when it loses/gains focus manually by clicking. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7020 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7038 Git commit 04d95319c2d1bfbd5fa0263ce44f35cc49144ece by David Edmundson. Committed on 21/01/2025 at 14:39. Pushed by davidedmundson into branch 'master'. xdgshell: Fix passing focus to transient parent on close When a modal dialog is closed we want to focus the parent. This requires keeping information about grouping until after workspace code is run. M +36 -0 autotests/integration/xdgshellwindow_test.cpp M +1 -1 src/xdgshellwindow.cpp https://invent.kde.org/plasma/kwin/-/commit/04d95319c2d1bfbd5fa0263ce44f35cc49144ece Git commit 8babbae2a9f03a120fa3cda32bc72850f33ad4d0 by David Edmundson, on behalf of David Edmundson. Committed on 22/01/2025 at 11:56. Pushed by davidedmundson into branch 'Plasma/6.3'. xdgshell: Fix passing focus to transient parent on close When a modal dialog is closed we want to focus the parent. This requires keeping information about grouping until after workspace code is run. (cherry picked from commit 04d95319c2d1bfbd5fa0263ce44f35cc49144ece) Co-authored-by: David Edmundson <kde@davidedmundson.co.uk> M +36 -0 autotests/integration/xdgshellwindow_test.cpp M +1 -1 src/xdgshellwindow.cpp https://invent.kde.org/plasma/kwin/-/commit/8babbae2a9f03a120fa3cda32bc72850f33ad4d0 |