Bug 471076

Summary: Folder view widget popup can lag or freeze when dragging scroll handle quickly in a folder with many items with previews enabled
Product: [Plasma] plasmashell Reporter: me
Component: Desktop icons & Folder View widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aspotashev, hein, nate
Priority: NOR    
Version First Reported In: 5.27.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description me 2023-06-15 13:07:34 UTC
SUMMARY
I have a folder view widget in my panel that points to my downloads folder (which has a lot of files in case that could be an issue) and when I scroll either with the scrollbar or the mouse scroll wheel the whole shell starts to lag and freeze.

STEPS TO REPRODUCE
1. Have a folder view widget with a relatively long file list
2. Scroll far

OBSERVED RESULT
The whole shell lags and freezes.

EXPECTED RESULT
The widget should scroll normally.

SOFTWARE/OS VERSIONS
Linux: Arch Linux with zen kernel 6.3.6
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Only seems to happen under Wayland; the problem occurs also with the folder view set to "list" rather than "grid"; another little bug is the cursor that gets stuck in a position (e.g. the arrow with the plus symbol or the closed hand cursor) when hovering on a panel or widget after the folder view causes lagging.
Comment 1 me 2023-06-15 13:08:48 UTC
Screen recording of the problem: https://static.gianmarco.gg/folderviewlag.mp4
Comment 2 Nate Graham 2023-09-15 16:26:34 UTC
Can reproduce lagginess and even brief freezing when dragging the scroll handle with the popup in Grid view. List view seems to work much better for me.
Comment 3 me 2023-10-02 14:58:20 UTC
(In reply to Nate Graham from comment #2)
> Can reproduce lagginess and even brief freezing when dragging the scroll
> handle with the popup in Grid view. List view seems to work much better for
> me.

The list view has the same issue for me.