Bug 222901 - sorting images by date blocks the whole app
Summary: sorting images by date blocks the whole app
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 343382 347380 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-15 21:46 UTC by keyser7777
Modified: 2023-08-22 21:17 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.