Bug 510426 - Rapid scrolling causes visual glitches until repainted
Summary: Rapid scrolling causes visual glitches until repainted
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (other bugs)
Version First Reported In: 25.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-09 14:45 UTC by Oliver Beard
Modified: 2025-10-23 10:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot demonstrating visual glitches (72.42 KB, image/png)
2025-10-09 14:45 UTC, Oliver Beard
Details
Screenshot demonstrating visual glitches (73.08 KB, image/png)
2025-10-09 14:46 UTC, Oliver Beard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Beard 2025-10-09 14:45:31 UTC
Created attachment 185628 [details]
Screenshot demonstrating visual glitches

SUMMARY
Rapidly scrolling in and out in the details view mode causes visual glitches - icons remain as their larger-size variants, selection/focus outlines might be retained at the wrong size, and the entry offset to the side.

STEPS TO REPRODUCE
1. Switch to details view mode
2. Scroll in and out rapidly for a few seconds
3. Stop and observe (generally ending at the most zoomed out level)
Comment 1 Oliver Beard 2025-10-09 14:46:29 UTC
Created attachment 185629 [details]
Screenshot demonstrating visual glitches
Comment 2 TraceyC 2025-10-09 15:34:04 UTC
I see the glitch during the animation going from large to small or small to large, but it always completes on my system. The end result looks as expected.
Comment 3 Bug Janitor Service 2025-10-23 09:00:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/1073
Comment 4 Marco Martin 2025-10-23 10:30:04 UTC
Git commit 5ba28fbee04c0f2fa5b21cc2aa52eabc16e32f20 by Marco Martin.
Committed on 23/10/2025 at 08:50.
Pushed by mart into branch 'master'.

Item view: don't do a zoom animation

The zoom animation in all 3 views looks very glitchy,
because icons that were already in view animate, those that weren't
don't animate giving weird effect.
In the list view mode, the tree view branches don't animate either,
showing weird holes between the branches

Also, while zooming in and out very quickly, is possible to
have the selection rectangle somehow unsynced with the items sizes
leading to visual glitches.

Without an animation, zooming the view feels much faster and robust
giving immediate feedback when zooming via ctrl+scroll or by dragging
the slider around

M  +2    -23   src/kitemviews/kitemlistview.cpp

https://invent.kde.org/system/dolphin/-/commit/5ba28fbee04c0f2fa5b21cc2aa52eabc16e32f20