https://bugs.kde.org/show_bug.cgi?id=354330
Méven <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/syst | |em/dolphin/-/commit/dcb1fc5 | |86c33fab49f75767714363ddac3 | |0537f5 Status|ASSIGNED |RESOLVED --- Comment #21 from Méven <[email protected]> --- Git commit dcb1fc586c33fab49f75767714363ddac30537f5 by Méven Car. Committed on 03/09/2026 at 15:13. Pushed by meven into branch 'master'. dolphin: scroll to a renamed item that moved to a new sort position Renaming a file re-sorts it and keeps it selected, so neither the view nor updateViewState() scrolls to it. When the new name sorts far from the old position, the renamed item could end up off-screen. Add a KFileItemModel::sortingFinished signal, emitted once the sort order is final after a sort-relevant change, whether or not anything moved, and scroll the view back to the renamed item when it fires, for both the inline rename and the RenameFileDialog paths. If the rename hid the item there is nothing to scroll to and the view is left untouched. M +22 -2 src/kitemviews/kfileitemmodel.cpp M +8 -0 src/kitemviews/kfileitemmodel.h M +146 -0 src/tests/dolphinmainwindowtest.cpp M +22 -0 src/views/dolphinview.cpp M +6 -0 src/views/dolphinview.h https://invent.kde.org/system/dolphin/-/commit/dcb1fc586c33fab49f75767714363ddac30537f5 -- You are receiving this mail because: You are watching all bug changes.
