Bug 393139 - Jarring restoration of minimized window with activated "show selected window" in task switcher settings
Summary: Jarring restoration of minimized window with activated "show selected window"...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.22.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2018-04-14 18:03 UTC by wazhai
Modified: 2021-11-06 13:06 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KWin supportInformation (5.86 KB, text/plain)
2018-04-23 15:08 UTC, wazhai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wazhai 2018-04-14 18:03:28 UTC
When the option "show selected window" is enabled in the task switcher settings (available for most task switchers) and the user uses the task switcher with alt-tab, while still holding alt a preview of the currently selected window is shown on screen above the rest. On releasing tab, the window preview immediately disappears and the relatively slow restore from minimized state animation plays if enabled, or if disabled it still takes a noticeable moment for the window to appear after its preview has already disappeared. This is a jarring and unpolished transition with distracting flashing of said window.

Steps to reproduce (try with and without "Minimize Animation" from Desktop Effects):
1. Make sure that "show selected window" is activated in task switcher settings with any task switcher that supports it
2. Minimize a window
3. Use the task switcher (alt-tab by default) to highlight that window and keep the alt key pressed.
4. A preview of the window appears on screen
5. Release alt

Actual results:
A jarring restoration of the minimized window happens and there is flashing, as described in more detail above.

Expected results:
There is a smooth and seamless transition between the preview and the actual window.

Possible solution:
Perhaps the restore from minimized state animation should not be played at all when "show selected window" is activated. Additionally, there should be no flashing, for example by keeping the window preview visible until the actual window has been drawn below it.
Comment 1 Eike Hein 2018-04-18 14:56:20 UTC
The Task Switcher is not the Task Manager, reassigning
Comment 2 wazhai 2018-04-19 16:32:26 UTC
Task Manager's option to "Highlight windows" also results in the same behaviour.
Comment 3 Martin Flöser 2018-04-23 04:18:52 UTC
Please provide the output of qdbus org.kde.KWin /KWin supportInformation
Comment 4 wazhai 2018-04-23 08:27:26 UTC
https://paste.kde.org/pwfgaf5ab
Comment 5 Martin Flöser 2018-04-23 15:00:42 UTC
Please add it to the bug report so that we have all information together
Comment 6 wazhai 2018-04-23 15:08:52 UTC
Created attachment 112197 [details]
KWin supportInformation
Comment 7 kde.org 2021-11-06 13:05:52 UTC
I can confirm, that it still persists with KDE 5.22.5. I concur that it would be nice if the formerly minimized window would simply stay open and brought to front after being displayed in the task switcher. That would prevent the annoying flicker.