Bug 451529

Summary: Task manager tooltip window thumbnails sometimes do not appear
Product: [Plasma] plasmashell Reporter: Michael D <nortexoid>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: aleixpol, bugseforuns, mavoga, nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.24.3   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Tooltips/thumbnails not showing

Description Michael D 2022-03-15 13:55:08 UTC
Created attachment 147511 [details]
Tooltips/thumbnails not showing

Tooltips/thumbnails often show under wayland but sometimes they do not until plasmashell is restarted. This problem exists only on wayland.
Comment 1 Patrick Silva 2022-03-15 18:18:17 UTC
Same bug on Arch Linux (Plasma 5.24.3) and neon unstable.
Comment 2 Mau 2022-11-04 09:39:48 UTC
Same here, but I could never see a single window thumbnail/miniature on task manager tooltips when running under Wayland. The animated content of the windows can be seen in the task switcher though.

KDE Plasma v5.26.0
KDE Frameworks v5.98.0
QT v5.15.6
Wayland
Comment 3 Nate Graham 2022-11-04 16:37:18 UTC
D you have the kpipewire package installed?
Comment 4 Mau 2022-11-04 23:13:32 UTC
(In reply to Nate Graham from comment #3)
> D you have the kpipewire package installed?

No: in Debian the such package doesn't exist, not even in sid or experimental (testing here).
Is it required to have the miniatures?
Comment 5 Nate Graham 2022-11-04 23:16:05 UTC
Yep. That would be the problem, then.

You could point the packagers at https://community.kde.org/Distributions/Packaging_Recommendations (kpipewire is a Plasma package, and as such, we recommend installing it by default).
Comment 6 Mau 2022-11-04 23:35:58 UTC
(In reply to Nate Graham from comment #5)
> Yep. That would be the problem, then.
> 
> You could point the packagers at
> https://community.kde.org/Distributions/Packaging_Recommendations (kpipewire
> is a Plasma package, and as such, we recommend installing it by default).

Thanks Nate, it worked! I remembered that there is a kpipewire _source_ package (https://tracker.debian.org/pkg/kpipewire), which entered one week ago in the repositories: by installing the qml-module-org-kde-pipewire package along with the libraries it depends on I got the miniatures. Notice that no KDE Plasma package depends on those packages.

Could you please clarify why are those libraries needed for the task manager, while the task switcher can display the miniatures without?
Comment 7 Nate Graham 2022-11-07 18:26:11 UTC
The implementation of thumbnails is different on Wayland compared to X11. I don't know what technical requirements of limitations prompted this, though.