Bug 480940 - KDE6 - Task Switcher doesn't open with only one window open
Summary: KDE6 - Task Switcher doesn't open with only one window open
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
: 479106 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-06 08:32 UTC by jmkspcraft
Modified: 2024-02-06 16:22 UTC (History)
3 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 jmkspcraft 2024-02-06 08:32:01 UTC
SUMMARY
On KDE6, Task Switcher doesn't trigger with alt+tab when there is only one window open


STEPS TO REPRODUCE
1. Make sure only one window is open
2. Press alt+tab

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Task switcher triggers and moves focus to window 

SOFTWARE/OS VERSIONS
Linux: 6.5.0-15-generic (64 bit)
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
I personally find this disruptive because I frequently use alt-tab to reopen a minimized application or focus onto an open window. In this case there usually is only one application open, and this would not be possible with the current behaviour.
Comment 1 Bug Janitor Service 2024-02-06 12:28:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5121
Comment 2 Jin Liu 2024-02-06 12:42:03 UTC
*** Bug 479106 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2024-02-06 15:28:04 UTC
This was done in Bug 419408, but that may have been a mistake, and we're considering reverting it.
Comment 4 Vlad Zahorodnii 2024-02-06 16:09:16 UTC
Git commit 8086707d1c1799678f445da1fc4029b40e167981 by Vlad Zahorodnii.
Committed on 06/02/2024 at 15:59.
Pushed by vladz into branch 'master'.

Revert "tabbox: Show window switcher only when there are two or more windows"

This reverts commit b31baaf0cd33b0e4469e67a804d2686b13f41b7a.

It's still a good idea to show the task switcher even if there's only
one window in order to provide the user feedback about their action.
Since the task switcher is not shown when there's only one window, it
can be confusing and lead to thinking that the task switcher is broken.
It also fixes a regression which prevents alt-tabbing to the only
remaining minimized window.
Related: bug 419408

M  +0    -7    src/tabbox/tabbox.cpp

https://invent.kde.org/plasma/kwin/-/commit/8086707d1c1799678f445da1fc4029b40e167981
Comment 5 Vlad Zahorodnii 2024-02-06 16:22:57 UTC
Git commit 8a932da1f4be2ce581c38c3d82a6646463fe72c2 by Vlad Zahorodnii.
Committed on 06/02/2024 at 16:14.
Pushed by vladz into branch 'Plasma/6.0'.

Revert "tabbox: Show window switcher only when there are two or more windows"

This reverts commit b31baaf0cd33b0e4469e67a804d2686b13f41b7a.

It's still a good idea to show the task switcher even if there's only
one window in order to provide the user feedback about their action.
Since the task switcher is not shown when there's only one window, it
can be confusing and lead to thinking that the task switcher is broken.
It also fixes a regression which prevents alt-tabbing to the only
remaining minimized window.
Related: bug 419408


(cherry picked from commit 8086707d1c1799678f445da1fc4029b40e167981)

M  +0    -7    src/tabbox/tabbox.cpp

https://invent.kde.org/plasma/kwin/-/commit/8a932da1f4be2ce581c38c3d82a6646463fe72c2