Bug 509668

Summary: Browsing archives will show images sorted by modified time despite "by name" being pre-selected by default
Product: [Applications] gwenview Reporter: JR <zorael>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.08.1   
Target Milestone: ---   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: zip of some empty pngs with mixed modified times
example screenshot showing "by name" being pre-selected but not applying

Description JR 2025-09-19 08:49:20 UTC
Created attachment 185070 [details]
zip of some empty pngs with mixed modified times

SUMMARY
When browsing (some?) archives, the files inside are displayed sorted by modified time, despite "by name" being pre-selected by default. The order has to be selected again in the hamburger menu to apply. See attached zip.

STEPS TO REPRODUCE
1. Right-click zip in Dolphin and Open With -> Gwenview

OBSERVED RESULT
The image thumbnails displayed in the Browse view are sorted by time. The dropdown menu says they should be by name.

EXPECTED RESULT
The images should be displayed in the pre-selected sorting order.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS/Arch x86_64
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
I don't know zip well enough to know if they can be created with a pre-determined sorting order. If they can, should not Gwenview's setting take precedence?
Comment 1 JR 2025-09-19 08:50:44 UTC
Created attachment 185071 [details]
example screenshot showing "by name" being pre-selected but not applying