👍[v51] Gallery sorting bug [Fixed]

Moderator: xnview

Kadet
Posts: 460
Joined: Thu Oct 20, 2022 7:23 pm

👍[v51] Gallery sorting bug [Fixed]

Post by Kadet »

The bug only appears in the Gallery. The group yearly and sort by modification date setting shows all photos in the year 2026. The daily setting shows only a few days, and at some point there are all the rest of the photos.
Last edited by Kadet on Tue Sep 15, 2026 6:43 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 48859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [v51] Gallery sorting bug

Post by xnview »

I'm not able to reproduce, 'EXIF date created' is used and when not possible the 'file date created'
Kadet
Posts: 460
Joined: Thu Oct 20, 2022 7:23 pm

Re: [v51] Gallery sorting bug

Post by Kadet »

xnview wrote: Thu Sep 10, 2026 6:22 am I'm not able to reproduce, 'EXIF date created' is used and when not possible the 'file date created'
I have a very new phone, and all my images copied from my old phone have a Creation date from date copying these files. This is why it is better to use DateTimeOrginal or DateTimeDigitized if exist.
However, I wrote about the "Modifed date", which has the original dates in the photo descriptions. And that's exactly what doesn't work at Gallery. And it worked in the older version.
User avatar
xnview
Author of XnView
Posts: 48859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [v51] Gallery sorting bug

Post by xnview »

Sorry but i don't understand, sort by modification date is only used to sort files in the group. If you use group by Year, 'EXIF date created' is used
Kadet
Posts: 460
Joined: Thu Oct 20, 2022 7:23 pm

Re: [v51] Gallery sorting bug

Post by Kadet »

xnview wrote: Thu Sep 10, 2026 3:22 pm Sorry but i don't understand, sort by modification date is only used to sort files in the group. If you use group by Year, 'EXIF date created' is used
Okay, you did that, but it doesn't make sense. If I want to sort by Modification date, this is the date that should be used. After all, you display this date in Photo detail, so you have access to it. Just a slight change in the code is enough for the sorting to work according to logic.
And as I wrote, after copying the files, Creative date is the wrong parameter for using sorting by Creative date.

If I notice it, future users will notice it too and will be as surprised as I am.
User avatar
xnview
Author of XnView
Posts: 48859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [v51] Gallery sorting bug

Post by xnview »

sorry but i'm wrong. When using sort by 'Date taken', 'EXIF DateTimeOriginal' is used.
And you would like to sort by 'Date created'?
Kadet
Posts: 460
Joined: Thu Oct 20, 2022 7:23 pm

Re: [v51] Gallery sorting bug

Post by Kadet »

Modification date
User avatar
xnview
Author of XnView
Posts: 48859
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [v51] Gallery sorting bug

Post by xnview »

Kadet wrote: Sat Sep 12, 2026 7:15 pm Modification date
Sorry by modification date. Is it better in v55? If not please send me screenshots by adding all dates in labels (file+exif)
Kadet
Posts: 460
Joined: Thu Oct 20, 2022 7:23 pm

Re: [v51] Gallery sorting bug

Post by Kadet »

xnview wrote: Sun Sep 13, 2026 9:11 am
Kadet wrote: Sat Sep 12, 2026 7:15 pm Modification date
Sorry by modification date. Is it better in v55? If not please send me screenshots by adding all dates in labels (file+exif)
OK, it's work in v57.