Bug 457718 - when sorting by name it will only sort by Natural Order
Summary: when sorting by name it will only sort by Natural Order
Status: RESOLVED DUPLICATE of bug 466836
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-10 13:55 UTC by mark
Modified: 2023-08-22 21:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mark 2022-08-10 13:55:45 UTC
SUMMARY
gwenview will only use Natural sort order for names

STEPS TO REPRODUCE
1. mkdir x
2. cd x
3. touch 20190123456.jpg 202020.jpg 2021.jpg 201901.jpg 202020.jpg 202112345.jpg
4. in dolphin change sort order to Alphabetical 
5. view location x in gwview 

OBSERVED RESULT
2021.jpg
201901.jpg
202020.jpg 
202112345.jpg
20190123456.jpg
which  is Natural order

EXPECTED RESULT
20190123456.jpg
201901.jpg
202020.jpg
202112345.jpg
2021.jpg
which is Alphabetical 

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.16-200.fc36.x86_64 (64-bit)
Graphics Platform: X11


ADDITIONAL INFORMATION
from what i've been able to find researching this, gwenview is suppose to use the Dolphin sort order setting.  In this cause it is not, it is stuck on Natural.   I found no open upstream bugs on this so filing with fedora first.

https://bugzilla.redhat.com/show_bug.cgi?id=1991162
Comment 1 Andrew Shark 2023-08-22 21:04:48 UTC
Step 4. Dolphin settings - General - Behavior. Sorting mode.

The Alphabetical order in Dolphin is a bit different:
201901.jpg
20190123456.jpg
202020.jpg
2021.jpg
202112345.jpg

Can reproduce. There are two things however:
Currently Gwenview does not have ability to use individual sorting per folder (see Bug 466602).
Currently following Dolphin sorting when opening image from Dolphin is partly broken (see Bug 466836).
Anyway, I introducing setting to sort Alphabetically/Naturally not worth it in Gwenview. If it will follow dolphin folder (maybe per folder), it will be ok. I will close as duplicate and mention in another bug.

*** This bug has been marked as a duplicate of bug 466836 ***