https://bugs.kde.org/show_bug.cgi?id=495741
Bug ID: 495741
Summary: Focus not properly given to the destination window
after Alt+Tab under Wayland
Classification: Plasma
Product: kwin
Version: 6.2.2
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 175481
--> https://bugs.kde.org/attachment.cgi?id=175481&action=edit
Screencast of the bug when using Kate with an IME
SUMMARY
When using Alt+Tab to switch windows under Wayland, the focus is not properly
given to the destination window. An additional keystroke is required to gain
the focus properly. The additional keystroke may or may not be sent to the
destination window, depending on the situation. This bug is not reproducible
under X11. The bug is not reproducible when switching windows using taskbar.
STEPS TO REPRODUCE & OBSERVED RESULT
Case 1 (System Settings)
1. Launch System Settings
2. Click on the search bar
3. Switch windows using Alt+Tab to System Settings again
-- Now you can observe that everything in the System Settings window is
displayed in unfocused style
4a. Press any key on the keyboard, be it A, Caps Lock, Alt or Esc
-- Now the window regains the focus, while the pressed key is not sent to it
4b. Alternatively, click on the search bar with a mouse
-- Now only the search bar regains the focus, while everything else in the
window remains unfocused, *even if you click anything with a mouse*, before you
press a key
Case 2 (Kate)
1. Launch Kate and create a new file
2. Switch windows using Alt+Tab to Kate again
-- Now you can observe the same unfocused display, especially, the cursor not
blinking, *even though you can move the cursor position with a mouse*
3. Press any key on the keyboard
-- Now the window regains the focus, while the pressed key is sent to it (e.g.
if you press A, then an "a" will be typed)
EXPECTED RESULT
The destination window should be given the focus immediately after switching to
it.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-arch1-1 (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
This bug is especially annoying if you are using an IME, since the first
keystroke after Alt+Tab will bypass the IME. See the attached screencast for a
demonstration of the bug when using Kate with an IME.
--
You are receiving this mail because:
You are watching all bug changes.