https://bugs.kde.org/show_bug.cgi?id=514121
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/grap | |hics/digikam/-/commit/24e1b | |eccbc041da773da0f0f19730896 | |8e98a812 Resolution|--- |FIXED Version| |9.1.0 Fixed/Implemented| | In| | Status|CONFIRMED |RESOLVED --- Comment #2 from [email protected] --- Git commit 24e1beccbc041da773da0f0f197308968e98a812 by Gilles Caulier, on behalf of Anamay Narkar. Committed on 18/03/2026 at 21:19. Pushed by cgilles into branch 'master'. Bug: 514121: TableView: preserve selection when resorting columns When sorting by a column header, TableViewModel::sort() calls beginResetModel which causes the selection state to be reset. Fix by connecting to modelAboutToBeReset and saving the selected image Ids before the clear occurs. The restore is deferred by one tick to allow image model to finish resetting before looking up new row positions by Id. M +110 -2 core/app/views/tableview/tableview_selection_model_syncer.cpp M +3 -1 core/app/views/tableview/tableview_selection_model_syncer.h https://invent.kde.org/graphics/digikam/-/commit/24e1beccbc041da773da0f0f197308968e98a812 -- You are receiving this mail because: You are watching all bug changes.
