Bug 418020 - Add "Hide minimized window content" sub-option to "Highlight windows when hovering over tasks"
Summary: Add "Hide minimized window content" sub-option to "Highlight windows when hov...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.18.1
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-22 06:12 UTC by Dubfiance
Modified: 2020-03-19 10:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Suggestion Image (935.26 KB, image/png)
2020-02-22 06:12 UTC, Dubfiance
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dubfiance 2020-02-22 06:12:13 UTC
Created attachment 126284 [details]
Suggestion Image

SUMMARY
So I noticed when my windows were minimized the thumbnails of the windows were changed to reflect their icons rather than the content of the windows, however with highlighted windows the minimized window shows its entire context despite the thumbnail being changed to the app icon.

SUGGESTION
Add a sub-option to the highlighted windows option to hide window content when minimized, so the preview shows the placement and size of the minimized window without showing its contents. Examples are posted in the attachment.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.18.1 (Kernel Version: 5.3.0-40-generic)
KDE Plasma Version: 5.18.1
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 1 Nate Graham 2020-02-24 05:23:10 UTC
This is a KWin limitation.

You can force it on (with potentially visual and performance consequences) in System Settings > Display & Monitor > Compositor > Keep Window Thumbnails > Always
Comment 2 Kai Uwe Broulik 2020-02-24 08:35:58 UTC
There is still a bug in the Task Manager because whoever implemented this assumed that minimized windows cannot have thumbnails and so Task Manager never shows them when minimized even if "always shown" is used.
Comment 3 Dubfiance 2020-02-24 18:14:14 UTC
Just to be clear I do like that the thumbnails aren't visible when windows are minimized, I consider this to be a non-intended privacy feature.

I'd like to extend that privacy "feature" to the Window highlight option, since when the application is minimized even though the thumbnail on the task manager is hidden, the context of the window highlight is still shown.

A somewhat of a solution I've heard is to do this System Settings > Display & Monitor > Compositor > Keep Window Thumbnails > Never

but in this case it hides the window dimensions and position. I'd like to keep that part of the window shown, but the context of the window hidden when minimized, just like in the suggested image that was attached.
Comment 4 Dubfiance 2020-02-24 18:21:24 UTC
I believe the compositing option "only for Shown Windows" is sort of what I'm going for, but it doesn't work.
Comment 5 Vlad Zahorodnii 2020-03-19 10:44:02 UTC
(In reply to Kai Uwe Broulik from comment #2)
> whoever implemented this assumed that minimized windows cannot have thumbnails
That person didn't assume anything but rather were forced to implement WindowThumbnail the way it is now because unmapped windows have no pixmaps.
Comment 6 Kai Uwe Broulik 2020-03-19 10:53:43 UTC
No. The code in task manager has checks for "is window minimized" and then doesn't even bother showing the WindowThumbnail, even if it could in theory have a preview when KWin was configured accordingly.