This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Gwenview freezes when opening images in large folders

Tags: None
(comma "," separated)
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
Probably a common and known issue. Gwenview becomes stuck for a long time when opening an image in a folder with a lot of images. If I open a picture inside a folder with 15000 images, it's completely frozen for more than a minute. This only seems to happen when I first open the folder during that login session.

This is probably due to sorting or caching or other calculations, and I imagine it can't be fixed easily. But is there anything I can do at all to get rid of the long freezes, or at least shorten them? I looked in Gwenview settings but didn't find anything of relevance.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does Dolphin / Konqueror experience similar issues with that folder by any chance?
Also, does disabling previews have any impact on this issue?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
bcooksley wrote:Does Dolphin / Konqueror experience similar issues with that folder by any chance?
Also, does disabling previews have any impact on this issue?


Yes, Dolphin is also slow to open large folders. Though it only freezes for about 5 seconds where Gwenview rather freezes for 40.

Even if I disable previews, Dolphin is still as slow. Gwenview doesn't have an option to toggle previews from what I see.
User avatar
google01103
Manager
Posts
6668
Karma
25
have you tried Digikam, as it has a db facility it may, after the first run, provide you with speedier access to your images


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
agateau
Moderator
Posts
97
Karma
0
OS
Sorting by date can cause such slowdown because Gwenview has to read metadata from images to know the shooting date. Sorting by name can help in this situation. A common trick is to ensure sorting your images by name yield the same order as sorting them by date, by renaming them to a format like this: <year>-<month>-<day>-<hour>-<minute>-<second>. This is what Gwenview importer does by default. If sorting by name "resolves" your problem there are many tools available to rename files in batch like this.
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
google01103 wrote:have you tried Digikam, as it has a db facility it may, after the first run, provide you with speedier access to your images


I'm not looking to abandon Gwenview due to this issue, though it's good to know about similar programs too. Would still rather fix Gwen if there's any way to currently.

agateau wrote:Sorting by date can cause such slowdown because Gwenview has to read metadata from images to know the shooting date. Sorting by name can help in this situation. A common trick is to ensure sorting your images by name yield the same order as sorting them by date, by renaming them to a format like this: <year>-<month>-<day>-<hour>-<minute>-<second>. This is what Gwenview importer does by default. If sorting by name "resolves" your problem there are many tools available to rename files in batch like this.


In Dolphin, I need to sort everything by Date. In Gwenview however I don't care. I noticed the scrolling order is different there, so I assumed it already sorts them by name. Looking in the View -> Sort By menu, I can confirm the sorting method is Name. But it's still extremely slow even so.
User avatar
agateau
Moderator
Posts
97
Karma
0
OS
Another thing to check is what information is displayed under the thumbnails: extracting the date or the image size is expensive as well. You can change those from "View -> Thumbnail Details".
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS
agateau wrote:Another thing to check is what information is displayed under the thumbnails: extracting the date or the image size is expensive as well. You can change those from "View -> Thumbnail Details".


The only option enabled in that menu is "Filename", the others are ticked off.
User avatar
agateau
Moderator
Posts
97
Karma
0
OS
I am out of ideas for now :/, except for splitting your pictures in separate folders, which I guess might not be an option. Maybe you indeed outgrown Gwenview and should switch to Digikam?
glewik
Registered Member
Posts
3
Karma
0
OS
I was have the same problem. I found found temporary resolve. You have to set folder with your photos in system settings/programs/places to the folder with small quantities of files, gwenview will startin open faster.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]