Bug 233800

Summary: Trigger Present Windows effect even if only one window
Product: [Plasma] kwin Reporter: Jin Liu <m.liu.jin>
Component: effects-window-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: j.maceachern, luca_zerb
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jin Liu 2010-04-09 05:28:50 UTC
Version:            (using KDE 4.4.2)
Installed from:    Debian testing/unstable Packages

Currently if there's only one window and I trigger Present Windows, nothing happens. While the source says "No point triggering if there is nothing to do", I do think there's some point: consistency.

When I press Ctrl-F9 and nothing happens, often I wonder: did I pressed the wrong key? some KWin problem? Then realized there's only one window. I think the user should always get visual feedback, and in this case, it's fine to just present the sole window.
Comment 1 Jeffery MacEachern 2010-04-09 08:42:35 UTC
I can see your point about consistency, but I think that triggering the effect for only one window isn't ideal, either; it leaves the user less confused, but it wastes their time and clicks.  At the risk of being off-topic, what about an approach similar to what KWin does when you try to switch windows (e.g. Alt+Tab) when no windows exist?  I don't think that exact display would be suitable for use with this effect, but something like that has the benefit of giving the user feedback without being detrimental to usability.
If you think this idea is worthwhile, maybe we should take it off-tracker for discussion, as I don't want to hijack this bug.  Just my two cents...
Comment 2 Jin Liu 2010-04-09 09:01:28 UTC
Agree with you. I proposed a wrong solution to a perhaps right problem.

And consider the no-window case. Should have some visual feedback, but showing a blank screen is confusing to hell. Maybe a "no window"/"only one window" message that fades after one or two seconds?
Comment 3 Thomas Lübking 2011-04-25 15:18:13 UTC

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