Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort files by Date Modified doesn't seem to work properly #659

Open
hyungsongnam opened this issue Jan 16, 2024 · 4 comments
Open

Sort files by Date Modified doesn't seem to work properly #659

hyungsongnam opened this issue Jan 16, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@hyungsongnam
Copy link

Environment:

  • OS: macOS Sonoma 14.2.1
  • qView version: commit 6c7a99d

Information:
Sort files by Date Modified, Ascending/Descending does not seem to work properly on my setup. Sort files by Name works fine however. Thanks.

@hyungsongnam hyungsongnam added the bug Something isn't working label Jan 16, 2024
@jurplel
Copy link
Owner

jurplel commented Jan 17, 2024

Can you please describe how it does not work as expected? For example, can you demonstrate that the ordering does not match Finder's ordering?

@hyungsongnam
Copy link
Author

hyungsongnam commented Jan 17, 2024

Thanks for the quick reply. Please see attached screen capture movie.

Screen.Recording.2024-01-17.at.4.49.49.PM.mp4

I first try the File name sorting and moving to the next image by pressing the > key. That works in accordance with the ordering in Finder. Then I try the Modified date sorting, and that doesn't go as it should from Finder's ordering.

Thanks.

Sincerely,
Hyung-song Nam, PhD

@hyungsongnam
Copy link
Author

Hello,

In case you noticed something strange, I've made another movie of this behavior.

As you can see in the movie below, the reason the files have same modified time in the movie above is because I did a "touch" command on the files ordered in Finder.

movie.mp4

With the modified dates intentionally made different (i.e., by waiting for some time between each "touch" command), the ordering in qView can be made to work somewhat (however, it seems to go in opposite direction, Ascending goes back in time etc).

However, once I do the "touch" command on the files, even though macOS Finder can order them in correctly, qView doesn't seem to recognize this ordering.

I also uploaded the same test images here with the different modified date, but this should be generally replicable with any TIFF files on macOS I presume.

test.tar.gz

Thank you.
Sincerely,
Hyung-song Nam, PhD

@hyungsongnam
Copy link
Author

hyungsongnam commented Apr 29, 2024

Got around to figure out a fix.

Instead of

touch file file file...

in which case qView doesn't seem to order as in Finder,

do

for i in file file file... ; do touch -m $i; done

Then qView seems to be able to order the files as in Finder.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants