Bug 395178

Summary: Browsing photos with preview and next not displaying photos in order
Product: [Applications] gwenview Reporter: CnZhx <zhx>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns
Priority: NOR    
Version First Reported In: 18.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description CnZhx 2018-06-09 15:13:32 UTC
When browsing photos in a folder, all the images have sequential ordered names such as img_001, img_002, etc., the Previous (left arrow) and Next (right arrow) will give the sequential previous or next photo.

However, when the names of the files are not so obvious, the Previous (left arrow) and Next (right arrow) no longer gives the sequential previous or next photo. I think this bug was introduced with 18.04. This behaviour is a bug to me and Gwenview did not behave like this before.


For example, for following photos in a foler,
```
img_C001H001S0001000001.png
img_C001H001S0001000002.png
img_C001H001S0001000003.png
img_C001H001S0001000004.png
img_C001H001S0001000005.png
img_C001H001S0001000006.png
img_C001H001S0001000007.png
img_C001H001S0001000008.png
img_C001H001S0001000009.png
```
Comment 1 Patrick Silva 2018-09-16 14:09:37 UTC
It works as expected here if sort by name is enabled in view menu.
gwenview 18.08.1 on Arch Linux.
Comment 2 CnZhx 2018-09-16 14:14:17 UTC
(In reply to Dr. Chapatin from comment #1)
> It works as expected here if sort by name is enabled in view menu.
> gwenview 18.08.1 on Arch Linux.

Thank you Dr. Chapatin for the remind. I almost forgot this bug.

I have not upgrade to 18.08.1 but it seems being fixed at least on 18.08.0. I'll mark this as fixed now.