https://bugs.kde.org/show_bug.cgi?id=522257

--- Comment #3 from Méven <[email protected]> ---
Git commit d22faca512a8ccb74eb38c91716dee937e434a21 by Méven Car.
Committed on 28/06/2026 at 09:19.
Pushed by meven into branch 'master'.

KFilePlacesView: only repaint the drop indicator when it changes

dragMoveEvent() recomputed the drop indicator and called setDirtyRegion()
on every drag-move event, even while the cursor stayed within a single
place and the indicator rectangle was unchanged. Each repaint commits a
new buffer. Where buffer commits are frame-throttled (some Wayland
compositors or GPUs) repainting on every motion event paces the whole
drag down to the commit rate, which can drop a drag-over-Places from 60
to around 20 FPS while the CPU stays idle.

Repaint only when the indicator actually moves. Behaviour is otherwise
unchanged: the drop index and the auto-activation timer are still updated
on every event.

M  +5    -3    src/filewidgets/kfileplacesview.cpp

https://invent.kde.org/frameworks/kio/-/commit/d22faca512a8ccb74eb38c91716dee937e434a21

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to