Created attachment 127851 [details] Changing sorting mode will only take effect on next Settings dialog launch. SUMMARY Since I updated to KDE Apps 20.04 yesterday I've observed two issues with the sorting functionality: 1) "Natural" sorting mode is broken, resulting in filenames sorting as if "Alphabetical, case insensitive" was selected - i.e., filenames with numbers went from the natural 1, 2, 3, 10, 20, 30 to 1, 10, 2, 20, 3, 30. Switching between the different modes will not change that. 2) Sorting settings will not take effect immediately when pressing "Apply" or "OK", but on the next time the Settings dialog is opened. I've made a little GIF which I've attached, hopefully it will showcase the problem adequately. Also, I should mention that I'm not entirely certain that the issue manifested in 20.04; it could be that it's been already present in earlier versions and I only just noticed because I happened to do some work with a folder containing numbered files. STEPS TO REPRODUCE 1. Install KDE Apps 20.04 (?) 2. Go to a folder containing numbered files 3. Mess with the sorting modes OBSERVED RESULT Sorting is broken. EXPECTED RESULT Sorting is not broken. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.2
For me, natural sorting does not work at all, no matter how many times I apply the dialog. This feature is completely broken. Please raise the priority.
EDIT to add version: 20.04.2
This is broken for me on 20.04.3
BTW Manually setting Collation and Sorting (Personalisation > Regional Setting > Formats) to my regional language fixes this issue.
KDE Plasma: 5.21.3 KDE Frameworks: 5.80.0 Part 1 of this issue has seemingly been fixed, i.e. in Natural mode the filenames sort as expected: 1, 2, 3, 10, 20, 30, etc. Part 2 is still in effect. (PROPER) STEPS TO REPRODUCE: 1. Create a test folder and inside it create e.g. 6 text files called 1, 2, 3, 10, 20 and 30, respectively. 2. Depending on your selected sorting type, these files will be sorted in a certain order. E.g. in the default natural mode they will sort as 1, 2, 3, 10, 20, 30. 3. Open Dolphin's settings, select a different sorting mode, press OK or Apply. 4. Observe that the files stay in their current sorting mode. 5. Open Dolphin's settings again. 6. The moment you do so, observe how the sorting settings you previously selected are now applied. The exact same thing will happen if after step 4, you instead simply close Dolphin and re-open it: the new sorting will now be applied. It's almost as if Dolphin will not refresh its file sorting logic until the next UI event that forces it to refresh the viewport (...or something :D).
*** This bug has been marked as a duplicate of bug 368121 ***