https://bugs.kde.org/show_bug.cgi?id=356161

--- Comment #6 from Thomas Lübking <thomas.luebk...@gmail.com> ---
(In reply to Thomas Pfeiffer from comment #5)
> What would be the usecase for that?
Bug #67406 :-P

Basically, a bunch of users didn't like how ShowDesktop behaved (when some
window was brought to screen, all windows restored, because "show desktop" is
meant modal - it's not a way to unclutter the desktop) and Lubos added a secret
key to make it behave like that (to spare him endless discussions ;-)

When we altered the "show desktop" implementation to raise the desktop rather
than to unmap ("minimize") all windows, the script was added as compensation,
since the key could obviously no longer be used (while unmapping windows, this
was merely a check on "what do I do if a window appears", but now it's an
entirely different process)

The name "minimize all" stems from there; the legacy behavior seems to have
been:
If there is something to minimize, do that, otherwise restore what was
minimized on last invocation.
The script presently strictly toggles (ie. as long as there's something been
minimized by the script, it will unminimize all those windows rather than
minimizing new ones) - mostly because I implemented it "free handed".

> A script which minimizes windows that are not minimized, but restores 
> minimized windows at the same time
This does not happen. It either minimizes XOR restores everything. The quarrel
is on "when do we do what" - we do not flip minimization (for that would
*really* just be virtual desktops ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to