Created attachment 162708 [details] Displayed document order SUMMARY With the "Document Path" sort order selected, files in a directory tree are shown in an apparently random order. STEPS TO REPRODUCE 1. Open files in a directory tree in a random order from the filesystem view 2. Observe their order in the Document view (in "Tree Mode") OBSERVED RESULT See attached screenshot. This is not an ordering I recognize. EXPECTED RESULT nixpkgs-devel > nixos > pkgs > > applications > > build-support > > development > > servers > > shells > default.nix SOFTWARE/OS VERSIONS Standard Debian Bookworm KDE Frameworks 5.103.0 Kate 22.12.3 Qt 5.15.8 ADDITIONAL INFORMATION Related to #435334 ?
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1441
Git commit f27b8bd5d0ba692d3839fd8116c274453d63ae59 by Waqar Ahmed. Committed on 01/04/2024 at 20:24. Pushed by cullmann into branch 'master'. Documents: Fix sorting for directories They were not getting sorted at all if the sort mode was Document Path M +3 -6 addons/filetree/katefiletreeproxymodel.cpp https://invent.kde.org/utilities/kate/-/commit/f27b8bd5d0ba692d3839fd8116c274453d63ae59