Bug 480313

Summary: The window preview shown when hovering over tasks is broken on Plasma Wayland 6.0
Product: [Plasma] plasmashell Reporter: hch12907 <haochengho12907>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: qydwhotmail
Priority: NOR Keywords: qt6
Version First Reported In: 5.92.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Hovering over a single task
Hovering over a group of tasks
Glitch when transitioning from one task to another

Description hch12907 2024-01-25 11:10:15 UTC
Created attachment 165207 [details]
Hovering over a single task

SUMMARY
Title.

STEPS TO REPRODUCE
1. Configure Icons-only Task Manager to show small window previews when hovering over tasks 
2. Launch an application, a task shows up in the panel now  
3. Hover over this task and see that there is no window preview
4. (If you launched multiple instances of the same application) hover over the task and see a messed up preview 

OBSERVED RESULT
When I am hovering over a task, the window preview shows only the window title, its description, and optionally the media controls.

When I am hovering over a group of tasks, the window preview is completely broken including layout.

Furthermore, each time I hover a task, plasmashell logs this message in the system journal: `error creating screencast "Could not find window id 0"`.

EXPECTED RESULT
Being able to see the window preview.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0 RC1
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.0-arch3-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
The behaviour seems to be reliably triggerable when I put the computer to sleep and wake it up.

I should note that I am running on a beta release of Qt.
Comment 1 hch12907 2024-01-25 11:10:49 UTC
Created attachment 165208 [details]
Hovering over a group of tasks
Comment 2 hch12907 2024-01-25 11:35:46 UTC
Created attachment 165209 [details]
Glitch when transitioning from one task to another

A related bug is when you move from a grouped task to a non-grouped task while a hover preview is shown. The transition is glitched.

I slowed down the video by 3x to make it more obvious (@ 0:03).
Comment 3 Antonio Rojas 2024-01-25 11:37:33 UTC

*** This bug has been marked as a duplicate of bug 479050 ***