Bug 396421 - unshading a window should (probably) raise it to the front
Summary: unshading a window should (probably) raise it to the front
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.6
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-11 19:53 UTC by Robert
Modified: 2018-07-11 20:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
freshly-unshaded window hidden by its neighbors (30.42 KB, image/png)
2018-07-11 19:53 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2018-07-11 19:53:00 UTC
Created attachment 113889 [details]
freshly-unshaded window hidden by its neighbors

This probably isn't noticed in the default configuration, as the first click of double-clicking a titlebar to unshade a window will also raise that window.

However, if one uses the mouse-wheel to shade/unshade windows (which has being able to densely-pack still-usable windows in-place), the window *OFTEN* is obscured by the adjacent shaded windows when unshaded. In practice, the most frequently used window will statistically be on top, but it can still be quite a nuisance.

(I have attached a screenshot of this effect)

I'm sure it sounds trivial, as the workaround would be to simply click the titlebar again that is under the mouse (like bug#8005), but I find that there is something odd about this mouse-wheel-to-button lateral movement that discourages any sort of haste, even with repetition.

So I'm a bit stuck... on the one hand, I *can* just set the double click action to be window shading (and avoid the odd/slow finger motion), but then I would lose other productivity boosts like double clicking to make the window appear on all desktops, and a peculiar benefit of quickly shading windows en-mass by moving the mouse position & wheel at the same time.

It would be nice if there was an option, default, window-rule-boolean, or plugin to simply raise windows when they are unshaded.
Comment 1 Martin Flöser 2018-07-11 20:24:05 UTC
Shading and unshading are not actions which affect the stacking order or the active state. The idea is to temporarily hide/show the window. There is no indication that users in general want that to change. It has been like that for decades. Given that I changed the report to feature request.

For the feature request I'm sorry to say that this won't be implemented. Shading is a hardly used feature and thus does not justify adding another config option given that there are easy workarounds.