Bug 439242 - Window switching when filtering windows by minimized, hidden windows and ordered by recently used behaves unpredictably
Summary: Window switching when filtering windows by minimized, hidden windows and orde...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.22.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-06-28 00:37 UTC by bees.json
Modified: 2021-11-06 14:19 UTC (History)
2 users (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 bees.json 2021-06-28 00:37:59 UTC
SUMMARY

If using the "recently used" sort order, pressing Alt+Tab will switch to the last used window. If the "Hidden" option under "Minimization" under "Filter Windows by" is checked, pressing Alt+Tab switches windows unpredictably.

Switching between minimized windows differs from the switching behavior when not filtering windows by minimization. The steps below may be repeated with only "Recently used" sort order set and the "Minimization" filter unchecked, and the expected behavior is observed.


STEPS TO REPRODUCE
1. System Settings > Task Switcher
2. Set sort order to "Recently used"
3. Check "Hidden windows" under "Minimization"
4. Apply settings
5. Open two windows: A and B
6. Focus and then minimize windows A and B, in that order; B is now the MRU (most recently used) window
7. Press Alt+Tab once to restore a window.

OBSERVED RESULT

Window restored by Alt+Tab is A

EXPECTED RESULT

Window restored by Alt+Tab is B, the MRU window.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.11-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Comment 1 kde.org 2021-11-06 14:19:17 UTC
KDE 5.22.5, I can confirm the described behavior.