Bug 378662

Summary: "Show Desktop" also in "Current Application" visualization
Product: [Plasma] kwin Reporter: Pablo <pablohn6>
Component: tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate, thomas.pfeiffer
Priority: NOR Keywords: usability
Version First Reported In: 5.8.6   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.12.0
Sentry Crash Report:
Attachments: Current application switch with Show Desktop option

Description Pablo 2017-04-11 13:40:20 UTC
Created attachment 104967 [details]
Current application switch with Show Desktop option

When you enable "Include Show Desktop icon" and use "Current application" switch (rather than All windows), you also see "Show Desktop" option (for all applications). I do not know if this is a bug or a feature, but I would like a "Current application" visualization (filter) that shows only windows of that application. In my opinion it makes no sense to show that "show Desktop", so if it is a feature: could you add a "hide on Current application switch" option?
Comment 1 Martin Flöser 2017-04-11 15:15:37 UTC
Given the current design it's not really a bug, but rather a feature request.

And I'm unsure about it. I see pro and cons on both sides. Adding yet another config option is something I would like to avoid. So the question is rather whether that mode should not allow to switch to desktop. And on that I'm unsure.

@Thomas: what do you think?
Comment 2 Nate Graham 2017-11-28 21:12:42 UTC
Instead of making it yet another option, we could just not display the Show Desktop icon when the user is cycling through windows of the current application. I agree that it doesn't make much sense to show it there, since when you're cycling through windows of the current application, you only care about its windows.
Comment 3 Kai Uwe Broulik 2018-01-08 09:32:10 UTC
Git commit 7ca8771d129fbeff7053395eb9e7ef7d5d321176 by Kai Uwe Broulik.
Committed on 08/01/2018 at 09:31.
Pushed by broulik into branch 'master'.

[TabBox] Don't show "Show desktop" window when cycling through application windows

When I'm explicitly cycling through the windows of an application it makes no sense to show the "global" desktop window.
FIXED-IN: 5.12.0

Differential Revision: https://phabricator.kde.org/D9661

M  +2    -1    tabbox/clientmodel.cpp

https://commits.kde.org/kwin/7ca8771d129fbeff7053395eb9e7ef7d5d321176