Bug 489609 - The current window gets affected by directional keys when switching windows with the help of ALT+TAB.
Summary: The current window gets affected by directional keys when switching windows w...
Status: RESOLVED DUPLICATE of bug 484992
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 6.1.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-02 13:59 UTC by Divyanshu
Modified: 2024-07-02 14:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Divyanshu 2024-07-02 13:59:51 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Let's assume we are watching a youtube video. Now I want to check my telegram and I ALT+TAB and use the directional keys to navigate to telegram. In this process, if I press the left directional key, the window selection moves left (cyclic) as well as the youtube video rewinds by 5 seconds. If I press the right directional key, the window selection moves right (cyclic) and the youtube video forwards by 5 seconds. Similar effect can be noticed on pressing up and down directional keys (volume up and down respectively).

STEPS TO REPRODUCE
1. Open 3 or more applications. One of them should have some visual or audio effect on pressing directional keys.
2. ALT+TAB and navigate using directional pad.
3. Release ALT+TAB when we have reached the desired application.

OBSERVED RESULT
The selected application is brought into focus along with the previously active application registering the key strokes resulting in abnormal behaviour.

EXPECTED RESULT
The selected application is brought into focus while the previous application should have no effect of directional keys.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux - 6.6.36-1-lts (64-bit)
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Prior to the latest update of 6.1.1, this issue was not present and kwin worked as expected.
Comment 1 cwo 2024-07-02 14:12:31 UTC
Is this involving an application using XWayland?

Does it work properly if you go to "Legacy X11 App Support" in System Settings and set it to "Never"?

If so, this is the same issue as https://bugs.kde.org/show_bug.cgi?id=484992
Comment 2 Divyanshu 2024-07-02 14:15:50 UTC
(In reply to cwo from comment #1)
> Is this involving an application using XWayland?
> 
> Does it work properly if you go to "Legacy X11 App Support" in System
> Settings and set it to "Never"?
> 
> If so, this is the same issue as https://bugs.kde.org/show_bug.cgi?id=484992

Yes this seems to be the case. Sorry for the duplication I didn't know how to phrase this issue in the search and this didn't find it.
Comment 3 Divyanshu 2024-07-02 14:16:10 UTC

*** This bug has been marked as a duplicate of bug 484992 ***