Bug 384548 - Unminimizing a shaded window should not unshade this window
Summary: Unminimizing a shaded window should not unshade this window
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.10.5
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-10 08:13 UTC by DanaKil
Modified: 2017-09-29 15:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DanaKil 2017-09-10 08:13:07 UTC
Unminimizing a shaded window should not unshade this window. I'm pretty sure this was not the case a few versions ago. Note that I'm not sure if this is related to plasma taskbar or KWin, sorry.

Step to reproduce:
1. shade a window (so that only the titlebar is still visible)
2. minimize the window in the taskbar
3. click on this window's entry in the taskbar to unminimize this window
4. the window is unminimized but it is not shaded anymore
Comment 1 Eike Hein 2017-09-11 12:30:47 UTC
Task Manager just calls KWindowSystem::unminimizeWindow which just calls xcb_map_window. Bouncing back to kwin.
Comment 2 Martin Flöser 2017-09-11 18:48:39 UTC
In that case I'm sorry to say that this cannot be fixed. I hoped for some clever way in taskmanager which would tell more.

The problem is that minimize doesn't really exist. It's just an unmap of the window, just as shade. So from window manager perspective there is no way to determine whether the window should be shaded or not. What happens is that the window gets mapped again and then we don't know the users intention. It could be map for unshade or map for unminimize or both.