Bug 508125

Summary: Folder preview leaks over windows and virtual desktops after switching virtual desktops
Product: [Plasma] plasmashell Reporter: Samuele <samuele.zappala>
Component: Desktop icons & Folder View widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: hein, kdedev, nate
Priority: NOR    
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: One can get a folder preview to appear over windows and in different virtual desktops by timing the switch after hovering on a folder in the folder widget

Description Samuele 2025-08-11 18:33:18 UTC
SUMMARY
Hovering over a folder in the folder widget opens a little preview of the content of such folder. With proper timing, I can switch virtual desktop right when a folder preview is opening, which results in the ability to get the preview to show in a virtual desktop where something else is in focus and/or the folder widget is not even visible.
As you can see in the attachment, I even managed to do it twice in a row: at some point I opened the preview of a folder in a different virtual desktop and hovering on a folder inside such preview I opened an additional preview going back to the original virtual desktop.

STEPS TO REPRODUCE
1. Place a folder widget
2. Open a full-screen window in a virtual desktop adjacent to the current one
3. Over on a folder inside the folder widget and just before the preview appears switch to the next virtual desktop with a keyboard shortcut

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.9-201.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-2400 CPU @ 3.10GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: llvmpipe
Manufacturer: LENOVO
Product Name: 7052A9G
System Version: ThinkCentre M91p

ADDITIONAL INFORMATION
I think this is part of a bigger problem, as sometimes these previews seem to even leak through windows so that I see previews appear while the folder widget is covered by an window, but I cannot reproduce this consistently.
Comment 1 Samuele 2025-08-11 19:01:37 UTC
Created attachment 183961 [details]
One can get a folder preview to appear over windows and in different virtual desktops by timing the switch after hovering on a folder in the folder widget
Comment 2 Nate Graham 2025-08-11 20:31:56 UTC
I can reproduce the issue.