Bug 233800 - Trigger Present Windows effect even if only one window
Summary: Trigger Present Windows effect even if only one window
Status: RESOLVED DUPLICATE of bug 181898
Alias: None
Product: kwin
Classification: Plasma
Component: effects-window-management (show other bugs)
Version: unspecified
Platform: Debian testing Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-09 05:28 UTC by Jin Liu
Modified: 2020-06-11 14:20 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 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 ***