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

            Bug ID: 527943
           Summary: Dot in the name of folder confuses sorting by numerals
    Classification: Applications
           Product: dolphin
      Version First 26.08.2
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: view-engine: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
If a folder (directory) is sorted by name, then automatic sorting that kicks in
for numbers gets confused by punctuation.

STEPS TO REPRODUCE
1. Create a temporary directory for the test: `$ mkdir /tmp/test; cd /tmp/test`
2. Create directories inside: `$ for d in 'Ch. 9 - Nine' 'Ch. 10 - Ten' 'Ch. 11
- Mr. Eleven' 'Ch. 12 - Twelve'; do mkdir "$d"; done`
3. Open Dolphin: `$ dolphin /tmp/test &`
4. Sort the folder by name (e.g. via the context menu)
5. Observe order of the subfolders
6. Rename 'Ch. 11 - Mr. Eleven' to 'Ch. 11 - Mister Eleven' to remove the
punctuation
7. Observe order of the subfolders

OBSERVED RESULT
In step 5, the order is unexpected, sorting chapter 11 _after_ chapter 12.
In step 7, the order is expected, all numbers in order from nine to twelve.

EXPECTED RESULT
Regardless of punctuation in folder names, the order of chapter folders
corresponds to their numbers, from nine to twelve.

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.8.1
KDE Frameworks Version: 6.31.0
Qt Version: 6.11.1
Kernel Version: 7.0.0-38-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 5570

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to