d2phap / ImageGlass

🏞 A lightweight, versatile image viewer
https://imageglass.org
Other
7.54k stars 491 forks source link

Modification time of directory is changed to current time after viewing images in the directory #1903

Open StevenKuhnert opened 4 months ago

StevenKuhnert commented 4 months ago

System information:

To Reproduce

Steps to reproduce the behavior:

  1. Open an image in any directory
  2. Modification time of directory is changed to current time

Actual behavior:

Modification time of directory is changed to current time after viewing images in the directory since version update from 9.0.10.201 to 9.0.11.502. Possibly caused by added feature "OpenSaveAsDialogInTheCurrentImageDir"? But changing flag from true to false does not change anything.

Expected behavior:

Modification time of directory should not be changed like in version 9.0.10.201

Additional context:

I have to switch back to version 9.0.10.201 to not mess up my directory structure.

d2phap commented 4 months ago

@StevenKuhnert I cannot reproduce this. Did you do any actions like copy, paste, rename, delete...?

StevenKuhnert commented 2 weeks ago

No, the problem occures without taking any actions like copy, paste, rename, delete... Only open an image in any directory from Windows Explorer changes the directory modification time to current time of the directory from where the image is displayed.

I've just installed new version 9.1.8.723 (64-bit) and this problem is gone!

When changing back to version 9.0.11.502 the problem occures again, so obviously the bug is fixed with the new version!?