Created attachment 163739 [details] screencast STEPS TO REPRODUCE 1. Open two windows. 2. Hold the `Alt` key, then press `TAB` twice, so the window switcher cycles back to the current window. 3. Release the `Alt` key. 4. Now the window titlebar is `active`, but the window body is visually `inactive`. 5. Press any key. 6. Now the window body is visually `active`. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.90.0 KDE Frameworks Version: 5.246.0 Qt Version: 6.6.1 Kernel Version: 6.6.3-arch1-1 (64-bit) Graphics Platform: offscreen Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics Memory: 13.5 GiB of RAM Graphics Processor: AMD Radeon Graphics
Can reproduce with those steps.
It seems that the keyboard focus does not revert to the originally activated window when the window switcher is closed.
Git commit e427ad73aa1d4a9278c857b35deec5564a319c49 by Yifan Zhu, on behalf of Jie Liu. Committed on 11/01/2024 at 02:28. Pushed by fanzhuyifan into branch 'master'. update keyboard focus when window switcher is closed. Signed-off-by: Jie Liu <liujie01@kylinos.cn> M +4 -0 src/input.cpp https://invent.kde.org/plasma/kwin/-/commit/e427ad73aa1d4a9278c857b35deec5564a319c49
Git commit 2292ad8bd01c2cebbf31b65721996e8c344a28db by Vlad Zahorodnii, on behalf of Jie Liu. Committed on 12/01/2024 at 11:37. Pushed by vladz into branch 'Plasma/6.0'. update keyboard focus when window switcher is closed. Signed-off-by: Jie Liu <liujie01@kylinos.cn> (cherry picked from commit e427ad73aa1d4a9278c857b35deec5564a319c49) M +4 -0 src/input.cpp https://invent.kde.org/plasma/kwin/-/commit/2292ad8bd01c2cebbf31b65721996e8c344a28db