Bug 365292 - Present Windows should not zoom out "always on top" windows
Summary: Present Windows should not zoom out "always on top" windows
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: effects-window-management (other bugs)
Version First Reported In: unspecified
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 366746 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-09 18:29 UTC by Alex
Modified: 2016-08-14 05:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2016-07-09 18:29:17 UTC
The expose effect zooms out all windows, so the user can switch to another window. 
Always on top windows will stay on top anyway, so they could (optionally) be kept without being zoomed out.

The usecase is: Watching a video in a always on top window, moving it around when using other windows. When switching between windows (i.e. two firefox windows when using icon-only-taskmanager), you could keep watching the video while changing the other windows.

Reproducible: Always


Actual Results:  
- all windows are zoomed out on expose
- when clicking one application in the icons only taskmanager, all windows from the clicked application are zoomed out and all others (i.e. the video player) are completely hidden

Expected Results:  
- option to keep windows visible, just as the panel does not zoom out.
Comment 1 Alex 2016-07-09 18:32:01 UTC
Additionally, it zooms out the windows on all monitors, even when the application only has windows on one monitor.

Example setup:
- two monitors
- on the right one a video player
- on the left one firefox with two maximized windows

Switching between the two firefox windows using the expose effect should not zoom out any window on the right monitor at all.
Comment 2 Martin Flöser 2016-07-11 07:01:19 UTC
Thank you for the feature suggestion. But I'm sorry to say that this won't be implemented. This would require a reworking of the effect logic which is not justifyable. Especially as the requested changes would seem unpredictable for many users - why is there a window excluded. Adding a config option for it is an absolute no-go as that would be a too hidden feature and would be a code path which nobody tests then.
Comment 3 Alex 2016-07-25 17:04:11 UTC
The biggest problem with the feature is, that currently full screen windows (at least vlc) are completely hidden in the zoome out effect, even when on another monitor.

Testcase:
- First Monitor: Some Windows, maximized Firefox in Foreground, another maximized Firefox somewhere behind it. Icon-Only-Taskbar, Expose-Effect for switching between windows of the same program.
- Second Monitor: VLC in Fullscreen mode
- Click Firefox-Icon to change from the first to the second firefox window

What happens:
Everything is hidden, the two Firefox Windows are in expose mode.

What would be way better:
Expose ignores the second monitor completely.

I am not sure what your infrastructure allows, but isn't it possible to use the effect only on the currently active monitor? This would not need to change much of the effect, as the arrangements currently are seperated for the different monitors as well.
Comment 4 Martin Flöser 2016-08-01 07:22:40 UTC
> The biggest problem with the feature is, that currently full screen windows (at least vlc) are completely hidden 

This sounds like a bug. That should be fixed and not worked around with a feature.
Comment 5 Alex 2016-08-01 13:39:02 UTC
Not sure, if this is a real bug, because the expected behaviour on clicking firefox in the panel is:

- hide everything
- expose all firefox windows

This happens, but on both monitors and the second one even when there is no firefox window. Still possible matching the current spec of the feature.

But when working with two monitors and a fullscreen window on the second one, my wanted behaviour is more like this:

- hide everything on the *current* monitor
- expose all firefox windows on the current monitor

This is a small change in the specification of the feature.

Which is another candidate for a setting, like the panel settings "Show windows from all monitors" / "Show windows from all workspaces".

Maybe kwin should respect the plasmoid's setting for this, maybe it should have own options. 
Personally i would like to have everything in the panel, but the more logical setting would probably to follow the panel behaviour.
Comment 6 Martin Flöser 2016-08-14 05:44:23 UTC
*** Bug 366746 has been marked as a duplicate of this bug. ***