Bug 446359

Summary: WIndow thumbnails on wayland not working
Product: [Plasma] plasmashell Reporter: juri26
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, edoardo762, h3.arami, lioh.moeller, me, nate, nortexoid, plasma-bugs
Priority: NOR Keywords: wayland
Version: 5.23.4   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=427826
https://bugs.kde.org/show_bug.cgi?id=443719
Latest Commit: Version Fixed In: 5.24
Sentry Crash Report:
Attachments: Example of the issue happening with Konsole on Fedora 35
pipewire output to journal

Description juri26 2021-12-02 04:34:13 UTC
SUMMARY
When hovering over an open app on a wayland session, the thumbnail is just empty and there is no window preview.

STEPS TO REPRODUCE
1. Log into plasma-wayland
2. Open an app
3. Hover over the icon in the taskbar

OBSERVED RESULT
No thumbnail of the open app

EXPECTED RESULT
Thumbnail is shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I completely reinstalled every plasma package and the bug is still there. When I start plasma in gnome with the command "startplasma-wayland" and hover over the open app, I get these error messages:

file:///usr/lib/qt/qml/org/kde/plasma/components.3/ScrollView.qml:47:45: QML ScrollBar: Binding loop detected for property "visible"

and:

kf.plasma.quick: Couldn't create KWindowShadow for ToolTipDialog(0x5555969b8350)

Have a nice day everyone, and thanks so much for this awesome project ;)
Comment 1 wenekar 2021-12-06 12:37:02 UTC
Created attachment 144262 [details]
Example of the issue happening with Konsole on Fedora 35
Comment 2 juri26 2021-12-06 21:16:12 UTC
(In reply to wenekar from comment #1)
> Created attachment 144262 [details]
> Example of the issue happening with Konsole on Fedora 35

Exactly, this is how it looks.
Comment 3 David Potter 2021-12-18 16:14:03 UTC
Created attachment 144649 [details]
pipewire output to journal

Hi,

I'm also seeing this issue on openSUSE Tumbleweed.

I've attached the error that pipewire logs on my system whenever I hover over a task switcher item.

The issue affects my desktop system with an AMD Vega 56 GPU.

It doesn't affect either of my systems with Intel graphics and the same operating system, on these systems thumbnails appear as expected.

Operating System: openSUSE Tumbleweed 20211215
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Mesa Version: 21.3.1
Pipewire Version: 0.3.40
Wireplumber Version: 0.4.5

Let me know if you need any more information.
Comment 4 Michael D 2021-12-18 22:12:41 UTC
I've the same issue which I thought was weird since in 5.20 this was supposedly fixed. Was there a regression?
Plasma 5.23.4, Manjaro testing
Comment 5 Nate Graham 2022-01-12 16:58:33 UTC
Ah, this was the "buffer too small" issue which should be fixed on Plasma 5.24.
Comment 6 Lioh Moeller 2022-07-03 11:32:11 UTC
Still happens with Wayland Session on 5.25.2
Comment 7 Edoardo Lolletti 2023-08-17 16:29:53 UTC
This issue is still present on plasma 5.27.7
Comment 8 Nate Graham 2023-08-17 16:39:17 UTC
This is a fairly old bug report and the code has changed a lot since it was reported. There's a very good chance the issue you're experiencing is caused by something else, even if the outward symptoms look and feel the same. Can you please submit a new bug report? Thank you!
Comment 9 Edoardo Lolletti 2023-08-17 16:57:02 UTC
(In reply to Nate Graham from comment #8)
> This is a fairly old bug report and the code has changed a lot since it was
> reported. There's a very good chance the issue you're experiencing is caused
> by something else, even if the outward symptoms look and feel the same. Can
> you please submit a new bug report? Thank you!

Ok, sorry for the inconvenience, submitted a new bug report here https://bugs.kde.org/show_bug.cgi?id=473483