When using filmrolls in collections "sort descending" does nothing
Describe the bug
I have my folders organized in yyyy.mm.dd and use filmrolls in the collections module. I usually used the descending option to have the newest filmroll on top. I don't know when this stopped working but the "sort descending" option just does nothing for me.
Steps to reproduce
- Use filmrolls in collections module
- Sort by folder name
- Select "sort descending" in the hamburger settings menu
- nothing changes
Expected behavior
The order should inverse on activating "sort descending"
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you install darktable from?
darktable.org
darktable version
4.5.0+1216~g65ea7772f8
What OS are you using?
Linux
What is the version of your OS?
Arch Linux, latest updates
Describe your system?
No response
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
AMD 6700 XT, ROCM 5.7.1
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Sorry, I did not find this when opening mine (edit : nor the many ones that may be considered as similar though different).
The bug arose somewhere between 4.4.2 and 4.5.0.
So, I read that in issue #15671 the reason for this is that some users would not want reverse sorting for anything else than date/time ?
I think this makes not sense at all and, moreover, this may lead to unconsistent sortings if date / time is modified in any way.
And I will add that the behaviour is buggy anyway, since when Descending is selected the oldest (in my case, as I name them upon their date) folder is displayed at he bottom of the list, just under the newest ones, until I click on the scroll bar and then the list is displayed old on top and new on bottom.
I think I am not the only one wishing to display the most recent folders on top, whatever their naming, and I do not appreciate to have to lose such a facility.
Please, give us back the possibility to reverse sorting the rolls whatever the scheme is used. Especially in cases such as mine, where the naming can be seen as date/time.
I think this makes not sense at all
Do you have seen people asking for a dictionary (book) sorted in reverse order?
File managers also have a-z and z-a options. I really don't understand why this simple option is not available. It's basically just reversing a list (I don't know how hard this is in dt).
And when naming folders yyyy.mm.dd shooting name it's basically an option to have "newest on top" which is totally not weird to have for me
And when naming folders yyyy.mm.dd shooting name it's basically an option to have "newest on top" which is totally not weird to have for me
I would argue that you can use a date/time collection.
Why you asked?
Simple if you ask for reverse order you'll get the proper order for date/time based collection (more recent first) but you'll get the Z-A sorting which is most of the time not what you want. So reversing all collections with the same preference is just wrong.
The solution, keep the sorting order of each collection independently and transparently (no option on the UI). Who want to implement that?
I would argue that you can use a date/time collection.
But all date/time collections like capture time or capture date destroys the folder structure I made on purpose to differentiate the shootings. Am I missing something here? Import time doesn't help either as I'd have to import 1000 folders in the proper order to make use of that
@TurboGit we already had this controversial discussion in my PR #15671
So reversing all collections with the same preference is just wrong.
I think we still have a misunderstanding here. It is not about reversing all collections, it is only about filmrolls and this is exactly what can be set in the collection settings:
I organize my imports in a year/month folder structure so my film rolls look this:
and I have to scroll all the way down to reach the most recent.
With PR #15671 it looks like this and I have the newest right on top of the list:
And the PR only works on filmroll folder names, no other collection type.
If this is really not wanted we should at least think about changing the collection settings dialog because this is simply misleading and will produce more issue reports like this one in the future.
EDIT: For my folder structure I get the same result with the reverse capture date collection, so I am satisfied with that. Other users may have other workflows.
I think this makes not sense at all
Do you have seen people asking for a dictionary (book) sorted in reverse order?
No, but one is still free to revert the side and start opening it from the end - what this is what becomes forbidden here. sorting the filmrolls ascending or descending has always been possible, I don't understand why it suddenly would become not possible anymore. Nor do I understand what it implies from a dev's view, since (almost ?) all sortings can be reverse in every selector across all systems.
The screenshots show the bug I mentioned in a previous post:
Capture1 shows the display after switching from darkroom to lightable. Though the ascensor is at the bottom, the rolls are displayed from the top.
Capture2 shows the same without any action ; just inserting an usb media made the list more correctly sorted according to the new behaviour.
Just update to 4.6.0 and encounter the same issue. I do hope that this can be improved.
edit: it seems to be solved by https://github.com/darktable-org/darktable/pull/16072 :+1: