jurplel / qView

Practical and minimal image viewer
https://interversehq.com/qview/
GNU General Public License v3.0
2.06k stars 122 forks source link

Sort files by: Same as folder #667

Open Auxdoozy opened 9 months ago

Auxdoozy commented 9 months ago

Windows photo viewer displays images in the same order as they are in the folder. Is there anyway for qView to do the same?

Auxdoozy commented 9 months ago

This is because some folders are sorted by date while others are sorted by name, so being able to scroll through images in the same order that they are presented within each specific folder would be ideal.

Auxdoozy commented 9 months ago

Any update on this?

uawewaue commented 8 months ago

Right click in the image view qView, Tools>Settings>Miscellaneous>Sort files by. And select the desired item

Auxdoozy commented 8 months ago

Right click in the image view qView, Tools>Settings>Miscellaneous>Sort files by. And select the desired item

I'm not sure you understand my request. The issue is some folders are sorted by name while others by date. So to accurately browse each folders contents you would need to change the settings in qView each time, which obviously isn't an ideal solution. Instead I'm requesting an option for qView to automatically sort by the same order that is in the folder.

jurplel commented 7 months ago

This suggestion makes sense, but it would definitely require extensive platform-specific code and we might not be able to make it work in all cases (e.g. linux without KDE or Gnome)

Auxdoozy commented 7 months ago

This suggestion makes sense, but it would definitely require extensive platform-specific code and we might not be able to make it work in all cases (e.g. linux without KDE or Gnome)

Fair enough, thanks for the reply. In that case is there anyway you could apply it just for the windows version? As a long time Windows photo viewer user this is the only feature that I've struggled with since making the switch, apart from that qview is brilliant and better in every way!

jurplel commented 7 months ago

This suggestion makes sense, but it would definitely require extensive platform-specific code and we might not be able to make it work in all cases (e.g. linux without KDE or Gnome)

Fair enough, thanks for the reply. In that case is there anyway you could apply it just for the windows version? As a long time Windows photo viewer user this is the only feature that I've struggled with since making the switch, apart from that qview is brilliant and better in every way!

I would definitely consider it but there is a long backlog of stuff I need to get to + I have basically no free time at the moment. Maybe in the future!

19X17 commented 3 months ago

Just some thought: if the app can remember the sort order on a per folder basis It could be easier to be implemented cross-platform? I am using macOS.

conceptualspace commented 5 days ago

agreed; a common usecase is to open a directory with images via the file manager, view one in qview and proceed to advance to the next image which may not be the expected next image depending on the sort mode of the directory.

im not sure about other OS but at least in gnome on linux we have file system metadata stored with GVFS, so a directory's sort order can be determined with gio info <directory>. are you open to a pull request to add a "per folder default" sort option, at least for gnome users?