| Summary: | Legacy X11 keyboard support does not receive key mask state update when Alt+tab is used | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Weng Xuetian <wengxt> |
| Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fanzhuyifan, nate, unblended_icing552 |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 5.90.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/18e6256dd6a3c97b57180319edbe5f8559892556 | Version Fixed/Implemented In: | 6.0.1 |
| Sentry Crash Report: | |||
|
Description
Weng Xuetian
2023-12-19 03:38:24 UTC
Can reproduce A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5322 Git commit 2025bf4c6b99950e104eb0fd79992bb3912ae3a4 by David Edmundson. Committed on 03/03/2024 at 12:41. Pushed by davidedmundson into branch 'master'. xwayland: Send to xwayland even when no window is focussed In the codepath to keep xwayland notified of key presses we have to check the focussed window is not already an xwayland client. To avoid a null dereference a guard is added that the focussed window is not null, however the current code incorrectly returns early intead of skipping just the relevant check. M +24 -23 src/xwayland/xwayland.cpp https://invent.kde.org/plasma/kwin/-/commit/2025bf4c6b99950e104eb0fd79992bb3912ae3a4 Git commit 18e6256dd6a3c97b57180319edbe5f8559892556 by Vlad Zahorodnii, on behalf of David Edmundson. Committed on 06/03/2024 at 12:42. Pushed by vladz into branch 'Plasma/6.0'. xwayland: Send to xwayland even when no window is focussed In the codepath to keep xwayland notified of key presses we have to check the focussed window is not already an xwayland client. To avoid a null dereference a guard is added that the focussed window is not null, however the current code incorrectly returns early intead of skipping just the relevant check. M +16 -15 src/xwayland/xwayland.cpp https://invent.kde.org/plasma/kwin/-/commit/18e6256dd6a3c97b57180319edbe5f8559892556 *** Bug 479011 has been marked as a duplicate of this bug. *** |