Bug 446918 - Issue with how files are sorted
Summary: Issue with how files are sorted
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 21.08.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-13 09:25 UTC by Lorenz_Schwab
Modified: 2021-12-13 10:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of dolphin, displaying the files (37.20 KB, image/png)
2021-12-13 09:25 UTC, Lorenz_Schwab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenz_Schwab 2021-12-13 09:25:53 UTC
Created attachment 144504 [details]
Screenshot of dolphin, displaying the files

SUMMARY
Dolphin is a fine product, I really do like it. However there is a small thing that is bugging me:
When sorting my files by name, but folders first, '.'-files and folders not hidden, my personal files and folders are sorted somewhere in the middle of the file list. This is the expected behavior but i would like an option to make my files appear at the top. I request a feature to sort files and folders by whether their name starts with '.'.
For reference I attached a screenshot, notice the text file all the way at the bottom, I find this really annoying. It would be nice if all my files and folders would be grouped in one place, not split by the '.'-files and folders.

STEPS TO REPRODUCE
1. open ~/ using dolphin
2. notice how there are a lot of files and folders starting with '.' (if no folders and files starting with '.' are found, make sure you don't have them hidden, if in doubt press ctrl+h)
3. when sorting by name, folders first, I experience that my personal folders are around half way down the list, because '.'-folders are sorted before alphanumerically named folders. They are not all the way at the bottom, because at the bottom there are lots of config files (naturally all starting with '.'). Personal files are all the way at the bottom though.

TO-BE-EXPECTED / OBSERVED RESULT
Personal folders are not at the top nor at the bottom of the file tree

PREFERRED RESULT
Personal folders and files are grouped together at the top or at the bottom of the file tree (Maybe make '.' be sorted as if it was the last character in the alphabet)

SOFTWARE/OS VERSIONS
Linux: 5.15.6-arch2-1, x86_64 GNU/Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Paul Worrall 2021-12-13 10:45:22 UTC
Recently released Dolphin 21.12 introduced the option to sort hidden files last so if they're displayed they appear after all normal files.
Comment 2 Lorenz_Schwab 2021-12-13 10:48:48 UTC
   Wow,
   This was the fastest bugfix ever :D
   Thanks.Am 13.12.21, 11:45 schrieb Paul Worrall
   <bugzilla_noreply@kde.org>:

     https://bugs.kde.org/show_bug.cgi?id=446918

     Paul Worrall <p.r.worrall@gmail.com> changed:

     What |Removed |Added
     ----------------------------------------------------------------------------
     Resolution|--- |FIXED
     Status|REPORTED |RESOLVED
     CC| |p.r.worrall@gmail.com

     --- Comment #1 from Paul Worrall <p.r.worrall@gmail.com> ---
     Recently released Dolphin 21.12 introduced the option to sort
     hidden files last
     so if they're displayed they appear after all normal files.

     --
     You are receiving this mail because:
     You reported the bug.
     You are on the CC list for the bug.