Bug 436093 - Task switcher order changes when a notification appears from an app in a different virtual desktop
Summary: Task switcher order changes when a notification appears from an app in a diff...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (other bugs)
Version First Reported In: 5.21.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-23 12:34 UTC by Radics Baltazár
Modified: 2021-05-04 12:34 UTC (History)
3 users (show)

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


Attachments
Screenshot of System Settings > Window Management > Task Switcher (116.18 KB, image/png)
2021-04-27 17:22 UTC, Radics Baltazár
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radics Baltazár 2021-04-23 12:34:52 UTC
I'm having an issue where the task switcher somehow changes the order of windows when a notification appears.

For example, if I have 3 windows open, I'm focused on window A, and my most recently used one is window B. Normally, pressing alt+tab takes me to window B, and pressing it again (after releasing alt) takes me back to A.  However, if B displays a notification, pressing alt+tab will instead take me to window C, and if I press alt+tab there (after releasing alt), it takes me to window B.

STEPS TO REPRODUCE
1. Have at least 3 windows open.
2. Make one of them show a notification while it's not focused (e.g. `sleep 2; notify-send test-notif` in konsole, then switch away from it)
3. Alt+tab doesn't switch back to the most recently used window.

A screen recording of me reproducing the issue is available here: https://balti.desnull.hu/plasma-task-switcher-notifs.mp4

SOFTWARE/OS VERSIONS
Linux: 5.10.30-1-lts
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-04-27 17:18:42 UTC
Can you also attach a screenshot of what System Settings > Window Management > Task Switcher looks like for you?
Comment 2 Radics Baltazár 2021-04-27 17:22:30 UTC
Created attachment 137959 [details]
Screenshot of System Settings > Window Management > Task Switcher

Here's the screenshot. In 'Alternative', I have no shortcuts configured.
Comment 3 Nate Graham 2021-04-27 17:27:14 UTC
Thanks.
Comment 4 Radics Baltazár 2021-05-04 11:53:56 UTC
Hmm, the issue seems to be fixed for me.