Images still sorted by old timestamp after "change time

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
Lupin III.
Posts: 12
Joined: Sun May 06, 2007 1:05 pm

Images still sorted by old timestamp after "change time

Post by Lupin III. »

After getting pictures out of my camera with, the ones that have been taken in an upright position are automatically turned by the camera program, so they are upright in every other program. This of course changes the timestamp of the file. Luckily xnview has this feature "change timestamp". (i use xnview 1.90.3)

But after using it the images, where the date should have changed, still have the old date in their tooltip and are sorted to the wrong position when sorted by date. I first thought the option didn't work or "sort by date" uses another date field, but no matter what date I set the sort order and tooltip wouldn't change. I also tried to sort by another property and then do "sort by date" again, but didn't change either. btw. the timestamp is set to the desired value as the properties of the file show.

But as soon as I add a new image to the same folder (from outside xnview) and the list get's refreshed ("auto refresh" enabled), xnview seems to read the new date and sorts the files correctly.

Some additional points:
1. Can I somehow get the "change timestamp..." into the context menu again like in 1.80. I use it quite a lot. (mathematically speaking I used it infinitly more often than "set as wallpaper", so I would exchange it for for that ;-)?

2. change in the dialog layout. Instead of the dropdown list what to change I would like to see checkboxes for this options, so multiple fields could be set a the same time. e.g. you could put them in front of the lables showing the current values.

3. applies only to the german translation
I got a little bit confused by the selectable values at first. Translated back to english they read like:

created (date)
modified (date)
modified
taken
digitized

there is no real clue which of them is a file or EXIF property. Of course you can conclude that because "digitized" is an EXIF property, "taken" and "modified" (without "date") are the other EXIF properties. But I wasn't sure until I tried.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Images still sorted by old timestamp after "change

Post by xnview »

Lupin III. wrote: But after using it the images, where the date should have changed, still have the old date in their tooltip and are sorted to the wrong position when sorted by date. I first thought the option didn't work or "sort by date" uses another date field, but no matter what date I set the sort order and tooltip wouldn't change. I also tried to sort by another property and then do "sort by date" again, but didn't change either. btw. the timestamp is set to the desired value as the properties of the file show.
I can't reproduce it, 'Sort by date' use 'created time' system, and 'Sort by EXIF date' use ''EXIF Modified date'
Pierre.
Lupin III.
Posts: 12
Joined: Sun May 06, 2007 1:05 pm

Post by Lupin III. »

To reproduce it you need at least two files in a folder (obviously you want to sort something :-). Give them different dates, but set all date values of a file (created, modified, EXIF dates) to the same value.

Look at the tooltip, if all values are set to the desired values (if the values don't match, you've already found the bug). I use the default Tooltip:
<Filename>, <Size> Bytes, <Modified>
<Format>
<Width>x<Height>, <BPP> Bit

Sort the files by date (which, btw, definitely sorts files by "date modified" and not "date created"). They should be in the correct order. Now set the "file modified" date of one of the files to a value, so it would change the sort order. Click apply and ... nothing changes! The tooltip of the file still shows the old value and the sort order is the same. If you look at the properties of the file, the value got indeed changed, but the tooltip and the value that is used for sorting internally didn't get updated. Selecting other sort orders and then going back to "sort by date" doesn't help either.

To sort correctly and update the tooltip, you have to browse to another folder and go back to the original, add a file to the folder (if the "auto refresh" option is set), or press F5 (I found the easiest one last ;-). This is what the change timestamp dialog should do after applying a date.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Lupin III. wrote:To reproduce it you need at least two files in a folder (obviously you want to sort something :-). Give them different dates, but set all date values of a file (created, modified, EXIF dates) to the same value.

Look at the tooltip, if all values are set to the desired values (if the values don't match, you've already found the bug). I use the default Tooltip:
<Filename>, <Size> Bytes, <Modified>
<Format>
<Width>x<Height>, <BPP> Bit
Right, i can reproduce
Pierre.
Post Reply