https://bugs.kde.org/show_bug.cgi?id=520265
Mohanraj Velayutham <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Version| |26.12.0 Fixed/Implemented| | In| | Latest Commit| |https://invent.kde.org/syst | |em/dolphin/-/commit/b2ccf93 | |e8d014dedb167495fdd792dbbca | |757f1d --- Comment #3 from Mohanraj Velayutham <[email protected]> --- Git commit b2ccf93e8d014dedb167495fdd792dbbca757f1d by Mohanraj Velayutham. Committed on 27/10/2026 at 06:14. Pushed by meven into branch 'master'. KFileItemModel: fix incorrect grouping by rating Ensure files are properly partitioned and grouped by rating when grouped sorting is active: - Include RatingRole in prepareItemsForSorting so rating metadata is retrieved synchronously during initial directory loading. - Compare rating roles numerically in lessThan() instead of natural string comparison when grouping by rating. - Ensure groupKeyForItem formats RatingRole consistently. - Always store rating role values as integer in KBalooRolesProvider and KFileItemModel for consistent comparisons. - Fallback to retrieveData in ratingRoleGroups if values are empty. FIXED-IN: 26.12.0 M +27 -10 src/kitemviews/kfileitemmodel.cpp M +3 -1 src/kitemviews/private/kbaloorolesprovider.cpp M +145 -0 src/tests/kfileitemmodeltest.cpp https://invent.kde.org/system/dolphin/-/commit/b2ccf93e8d014dedb167495fdd792dbbca757f1d -- You are receiving this mail because: You are watching all bug changes.
