Page 1 of 2
Change timestamp & long path
Posted: Sat Apr 08, 2023 1:40 am
by metal450
Looks like this bug is also there for "Change Timestamp." If you try to Change Timestamp on a file that has a long path, it will silently fail (no error shown to user, no change made to the file). If you move the file somewhere else (shorter), it will suddenly work.
Re: Change timestamp & long path
Posted: Mon Apr 10, 2023 1:18 pm
by xnview

Thanks to your detailed description I can reproduce
the problem.
Re: Change timestamp & long path
Posted: Tue Apr 18, 2023 2:48 pm
by xnview
This problem is supposed to be fixed in
XnView MP 1.4.4. Please check and confirm the bug fix here.
Re: Change timestamp & long path
Posted: Sat Apr 22, 2023 2:27 am
by metal450
No change. Still not working for me in 1.4.4.
Re: Change timestamp & long path
Posted: Sat Apr 22, 2023 2:18 pm
by xnview
how do you reproduce?
Re: Change timestamp & long path
Posted: Sat Apr 22, 2023 3:38 pm
by metal450
*Open a jpeg with a long path (i.e. any of the examples previously given)
*Switch interface to Browse mode
*Tools->Change Timestamp
*Dialog settings like this:
https://jiij.cc/snaps/2023-04-22_08.38.07.png
*Click "Write"
*The Date Taken does not shift by 1hr
If you move the same image to a shorter path & try the same process, it will shift properly.
Re: Change timestamp & long path
Posted: Tue May 02, 2023 1:03 pm
by xnview
i can't view the screenshot...
Re: Change timestamp & long path
Posted: Fri May 05, 2023 12:15 am
by metal450
Sorry about that, the server I use for hosting images crashed just this weekend. Here's a mirror:
https://imgur.com/a/eEfwNgk
Re: Change timestamp & long path
Posted: Fri May 05, 2023 1:27 pm
by xnview
I can reproduce, issue reopened. But if you use 'Create EXIF metadata', exiftool will be use and will failed to use this long path.
Re: Change timestamp & long path
Posted: Wed May 10, 2023 12:20 pm
by xnview
This problem is supposed to be fixed in
XnView MP 1.4.5. Please check and confirm the bug fix here.
Re: Change timestamp & long path
Posted: Fri May 19, 2023 2:08 am
by metal450
Nope. Same behavior.
Re: Change timestamp & long path
Posted: Tue May 23, 2023 4:01 pm
by xnview
do you use 'Create EXIF metadata'?
Re: Change timestamp & long path
Posted: Tue May 23, 2023 4:20 pm
by metal450
Not explicitly. What I'm doing is exactly as documented in the previous post, this one:
viewtopic.php?p=186987&sid=b7a83e1f105f ... a0#p186987
Re: Change timestamp & long path
Posted: Thu May 25, 2023 7:26 am
by xnview
In the screenshot, 'Create EXIF metadata' is checked. Exiftool is used in this case but doesn't support long path name
Re: Change timestamp & long path
Posted: Thu May 25, 2023 11:39 pm
by metal450
Whether I leave that checked or unchecked, the behavior is the same - the exif timestamp doesn't get updated. Here's a video showing it with that checkbox unchecked:
https://jiij.cc/snaps/2023-05-25_16.35.05.mp4
(Also, in all cases - with or without the checkbox - if it fails there should be a warning message, rather than silently failing. Imagine you have a bunch of photos selected, some with shorter names and some with longer ones, and you try to change timestamps. You'll be left with a state where some of them were updated and some weren't, and you'd have no indication that something went wrong).