Bug 491287 - Alt-tab is also sometimes sent to the app
Summary: Alt-tab is also sometimes sent to the app
Status: RESOLVED DUPLICATE of bug 484992
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-05 04:28 UTC by Sami Kyöstilä
Modified: 2024-08-05 04:51 UTC (History)
1 user (show)

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


Attachments
Screen recording of the bug (701.89 KB, video/webm)
2024-08-05 04:28 UTC, Sami Kyöstilä
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Kyöstilä 2024-08-05 04:28:43 UTC
Created attachment 172287 [details]
Screen recording of the bug

SUMMARY
When switching apps with Alt-Tab or Alt-Shift-Tab, those same input events are also sent to the application that was most recently focused. This doesn't seem to happen with all apps, but it happens every time with at least with Chrome (127.0.6533.72).

STEPS TO REPRODUCE
1. Open Chrome on any website with a bunch of links (e.g., https://en.wikipedia.org/wiki/Main_Page)
2. Hold down Alt and tap Tab to bring up the application switcher (while still keeping Alt pressed).
3. While holding down Alt, press Tab and Shift-Tab a few times.

OBSERVED RESULT
The focused link in Chrome updates at the same time as the application switcher changes between windows.

EXPECTED RESULT
Chrome shouldn't receive any of the Alt-Tab events.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon testing
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.5.0 
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Screen recording attached.
Comment 1 fanzhuyifan 2024-08-05 04:51:40 UTC

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