Patch proposal to fix and improve sorting
I am writing a patch to fix the sorting in Gwenview.
I believe Geeqie has a better sorting.
Actually, I am annoyed by these behaviours:
- Gwenview uses the EXIF date when it is available to sort by date. This feature is a mess when we want to sort by modified date. Despite it can make sense, this feature is not documented. A workaround is to remove the EXIF date, but this is cumbersome.
- Gwenview gets the sorting from a DBUS query when we open a directory using the method
MainWindow::setInitialUrl
(a click on a directory in the recent places). This is also a silent behaviour, and it ignores/overwrites the actual Gwenview sorting setup. Thus, this is clearly a bug. - Gwenview sorting is hidden in the UI menu, and sometimes it is set silently by DBUS.
I propose
- to add a sorting by modified date, by EXIF date and by image dimension.
- to add a sorting widget in the main window similar to Geeqie, to show and select the sorting.
- to disable the DBUS query. I think a good design must solve users needs and not look like a hack for somebody...