Bug 222901

Summary: sorting images by date blocks the whole app
Product: [Applications] gwenview Reporter: keyser7777
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ashark, axel.braun, chauhan.anirudh07, justin.zobel, karsten.elfenbein, keyser7777, nate, pevzi23, private_lock
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description keyser7777 2010-01-15 21:46:34 UTC
Version:           2.4.0 (using Devel)
OS:                Linux
Installed from:    Compiled sources

Hi,

While the default sorting setting in gwenview is "by name", I have always used "sort by date".

When the sorting is "by name", the thumbnails in the right panel are loading quietly one by one, which is the normal behaviour.

If the sorting is "by date" (whether I switch from "by name" or it is already set as default, which is my default), the whole application blocks, become unresponsive and disk activity increases dramatically ( I can actually hear the hdd sound like there are disk intensive operations).

I presume that for some (good?) reason(s) gwenview reads again every file in the whole folder, cause after a time the app is back to normal again.

This happens every time I change to a different folder, the time in which gwenview freezes is proportional with the number of files per folder. 

Thanks
Comment 1 Karsten 2010-11-14 15:21:37 UTC
I think that is because gwenview tries to read the exif data of every image for sorting by date.

Looks related to #242332
Comment 2 Mikhail Sidorov 2011-06-21 20:17:55 UTC
I confirm this, sorting by date is extremely slow.
Comment 3 Anirudh 2012-01-05 14:06:25 UTC
Bug 245245 points to the same problem
Comment 4 Christoph Feck 2015-05-16 22:50:22 UTC
*** Bug 343382 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2015-05-16 22:51:02 UTC
*** Bug 347380 has been marked as a duplicate of this bug. ***
Comment 6 Justin Zobel 2020-11-10 04:01:31 UTC
I've just tested this on gwenview from git master and cannot reproduce the issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" when you respond, thanks.
Comment 7 Axel Braun 2020-11-10 13:48:43 UTC
Using gwenview 20.08.2, sorting by date is pretty quick. no difference to sort by name
Comment 8 Holger 2020-11-12 19:01:20 UTC
I definitely remember having this problem in the past - that is why I added myself to CC. But I've not been bothered by this anymore probably the whole year. So with 19.12.3 I'd say: Works_for_me!
Comment 9 Andrew Shark 2023-08-22 21:17:49 UTC
Ok, as the previous comments say that there is no more problem, and no any newer reports for 2.5 years, I will close as Worksforme.