Bug 242332

Summary: Sort by file's Date Modified time (do not mix mtime and EXIF time)
Product: [Applications] gwenview Reporter: FF777 <yasuna>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: ashark, bugsnmd, fabrice.salvaire, glaebhoerl, karsten.elfenbein, kdebugs.20.orzelf, mabo, mrboese, mynameislich, nate, null, sebastian, ws, yasuna
Priority: NOR Keywords: usability
Version: 2.4   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 473661    

Description FF777 2010-06-21 11:33:32 UTC
Version:           2.4 (using KDE 4.4.4) 
OS:                Linux

In the very old gwenview it would sort by file date. But in the newer gwenviews, sorting by date will sort by the EXIF date, and ONLY sort by file date if there is a lack of EXIF data. Sorting by EXIF is neat if you have a directory full of pictures that you took with your own camera, but when you have directories of lots of various pictures and wallpapers saved from across the internet, they are sorted in an essentially random order on gwenview if I sort them by date because the EXIF data on all the pictures are from various months and years.

It would be very helpful if there was a simple option to choose either EXIF sorting, or file date sorting. As it stands right now on gwenview, I have no way of putting my pictures in the order that they were actually created.

Reproducible: Always

Steps to Reproduce:
Open gwenview and sort by date.

Actual Results:  
Randomly sorted.

Expected Results:  
Sorted by date that they were actually created.
Comment 1 Karsten 2010-08-15 11:46:56 UTC
yes there should be an option to sort by mtime only
Comment 2 Karsten 2011-04-22 16:15:19 UTC
I can confirm this is still an issue in KDE 4.6.2 Gwenview 2.6.0
Comment 3 Sebastian Frei 2011-11-29 12:12:48 UTC
Have a look at bug 281720 ( https://bugs.kde.org/show_bug.cgi?id=281720 ), maybe one could solve both bugs/wishes with one configuration option.
Comment 4 Thomas Capricelli 2013-09-09 22:12:56 UTC
I can confirm the bug with gwenview 4.11.1

At first, my bug report was about "sorty by date give totally random order", but from what i can read upthere, it could perfectly be that a subtle mix of mtime and EXIF time is used.
And if EXIF time is ever considered, then the menu entry "by date" is ambiguous, i've thought for years that mtime would be used then...
Comment 5 tarnmarlin 2014-02-10 12:53:01 UTC
This is another example of a Frankenstein feature. Half exif, half mtime. And 4  years?
Comment 6 NMD 2016-04-14 19:24:35 UTC
Hi using kde 4.14.2, Debian Jessie.
I can confirm that this is the case - when set to sort by date, instead gwenview, for me, sorts by most recent viewed date (and therefore the order alters as you look at them).
Cheers.
Comment 7 Nate Graham 2017-09-08 19:43:48 UTC
Confirmed. Weird bug.
Comment 8 Nate Graham 2017-09-09 04:35:48 UTC
*** Bug 329098 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2017-09-09 04:48:21 UTC
*** Bug 324435 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2017-11-02 15:40:26 UTC
*** Bug 386461 has been marked as a duplicate of this bug. ***
Comment 11 fabrice salvaire 2017-11-05 13:25:16 UTC
So that usability issue is pending since 7 years ...

Personally, I have enough repo on github to work on, but it should be easy to add/clarify sorting options.
Comment 12 Thomas Capricelli 2017-11-05 20:20:50 UTC
(In reply to fabrice salvaire from comment #11)
> So that usability issue is pending since 7 years ...


Yes, as lot of other tickets here, unfortunately.
Comment 13 null 2017-11-05 21:45:35 UTC
>> So that usability issue is pending since 7 years ...
> Yes, as lot of other tickets here, unfortunately.
You are probably feeling better after talking about this situation via Bugzilla, but surely you'll agree this does not solve the actual problem at all.

To give this a positive spin: A lot of Gwenview's bugs are low hanging fruit and ideal to get started with developing for KDE. Just let us know if you are interested in writing a patch, we can certainly help you getting started with the process.
Comment 14 Thomas Capricelli 2017-11-05 21:54:13 UTC
I was just providing a bit of context. This ticket is far from being alone. Don't hold your breath.

"do it yourself" is such a common answer !
Comment 15 null 2017-11-05 21:59:20 UTC
> "do it yourself" is such a common answer !
The common answer is "send a patch". Note that is said "I'm willing to mentor someone in writing the patch and get it approved, even if this takes me much more time than just implementing it myself", which is different.
Comment 16 Nate Graham 2017-11-05 22:13:30 UTC
Allow me to echo Henrik's sentiments. I've also found a lot of low-hanging fruit and getting started isn't too hard. We would be happy to help you dip your toes in.
Comment 17 Nate Graham 2017-11-06 00:27:48 UTC
Also, on this subject:

"do it yourself" is such a common answer !"

Yup. That's how a volunteer-driven community works! If you want something done, the best way is to do it yourself. We'd be happy to help you get set up to do this, if you're interested.