Bug 438008

Summary: Option to transform minimized windows into thumbnails of in place of icons when using the "Do not group" setting
Product: [Plasma] plasmashell Reporter: Hanii Puppy <Hanii.puppy>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: CONFIRMED ---    
Severity: wishlist CC: nate, plasma-bugs-null, veqz
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video showing a window being minimised and getting a thumbnail icon.
attachment-31200-0.html

Description Hanii Puppy 2021-06-02 18:11:51 UTC
Created attachment 138957 [details]
Video showing a window being minimised and getting a thumbnail icon.

Switching between Mac OS and Linux running KDE, one of the things that slows me down a surprising amount is the lack of thumbnails for minimised windows. That is, without having to mouse over the icons. See attachment.

I'd put the icons-only task manager in Latte Dock to show minimised windows separately from program-launching icons and icons representing open programs, but there doesn't seem to be any obvious way to replicate this functionality.

Even if it's not a live preview of a window, but rather an image from immediately before it was minimised, that would still be extraordinarily helpful. This is how it works for programs in Mac OS without explicit support for live minimised previews - compare a minimised video window from VLC and Quicktime.
Comment 1 Nate Graham 2021-06-08 20:35:15 UTC
They can. Go to System Settings > Display & Monitor > Compositor > Keep window thumbnails > Always.

This isn't the default setting because of various trade-offs that will be listed when you click it. :)
Comment 2 Hanii Puppy 2021-06-10 21:17:48 UTC
Created attachment 139212 [details]
attachment-31200-0.html

All that seems to do is prevent the windows showing up when "Show only
tasks: that are minimised" is enabled. If I disable that so I can see all
tasks, the windows still appear as their application icons rather than as
thumbnails of the windows.

On Tue, Jun 8, 2021 at 9:35 PM Nate Graham <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=438008
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |WORKSFORME
>              Status|REPORTED                    |RESOLVED
>                  CC|                            |nate@kde.org
>
> --- Comment #1 from Nate Graham <nate@kde.org> ---
> They can. Go to System Settings > Display & Monitor > Compositor > Keep
> window
> thumbnails > Always.
>
> This isn't the default setting because of various trade-offs that will be
> listed when you click it. :)
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Nate Graham 2021-06-10 21:27:38 UTC
Works for me with the Task Manager; That doesn't look like the Task Manager to me, so what dock are you using?
Comment 4 Hanii Puppy 2021-06-10 21:32:32 UTC
(In reply to Nate Graham from comment #3)
> Works for me with the Task Manager; That doesn't look like the Task Manager
> to me, so what dock are you using?

Sorry, I didn't realise responding via gmail would do that.

The video is to exemplify the desired behaviour, and is of the Mac OS dock. What I'm using in KDE linux is the icons-only task manager showing only minimised windows, in Latte Dock.
Comment 5 Nate Graham 2021-06-10 21:34:25 UTC
Does it work with the default Task Manager in a regular old Plasma Panel and not in Latte Dock? Are you using X11 or Wayland?
Comment 6 Hanii Puppy 2021-06-10 21:50:06 UTC
(In reply to Nate Graham from comment #5)
> Does it work with the default Task Manager in a regular old Plasma Panel and
> not in Latte Dock? Are you using X11 or Wayland?

The behaviour is the same regardless of if it's in a plasma panel or the Latte Dock. Using the latest version of Kubuntu, 21.04.
Comment 7 Hanii Puppy 2021-06-14 13:47:17 UTC
Same in Manjaro with KDE.
Comment 8 Hanii Puppy 2021-06-14 13:50:26 UTC
Screenshot of there being no thumbnail icon: https://i.imgur.com/yRvRwFb.png
Comment 9 Nate Graham 2021-06-14 17:49:46 UTC
Oh, you want the actual task icon to be replaced with a thumbnail. I thought you were talking about the tooltip. :)

So yeah there's no way to do this right now. I'm also not sure it would make sense. The Icons-Only Task Manager combines multiple windows into one; if you minimized one window from an app with multiple windows open, that app's icon would be replaced with the thumbnail of the last-minimized window. That would not both confusing and misleading.

It could make sense for the non-icons-only task manager for non-combined tasks, but in that case, the thumbnail would be too small to make out.

So I don't think we can do this, sorry.
Comment 10 Hanii Puppy 2021-06-14 18:38:38 UTC
It would make sense where a user has unticked the combining multiple windows into one icon option. This is the only major feature that would be required in order to allow it replicate the functionality of the minimised windows section of the Mac's dock and of Windows dock applications like Rocketdock.

(where, in the icons-only task manager configuration, "group" is set to "do not group", and "Show only tasks: That are minimised" is ticked)
Comment 11 Nate Graham 2021-06-14 21:54:52 UTC
Ah right, I forgot about the "Do Not Group" setting.