Summary: | Gwenview's Start a Slideshow context menu entry causes Dolphin context menu appearance to be delayed in presence of a large number of files | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Andrea Ippolito <andrea.ippo> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | elvis.angelaccio, kde, meven, rthomsen6 |
Priority: | NOR | ||
Version First Reported In: | 24.12.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/show_bug.cgi?id=499551 | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=499551 https://bugs.kde.org/show_bug.cgi?id=499595 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | 499595 | ||
Bug Blocks: | |||
Attachments: |
flamegraph when invoking the context menu on a dir containing 30k 4KB files
enable gwenview's context menu entry |
Description
Andrea Ippolito
2025-02-11 10:45:55 UTC
Created attachment 178138 [details]
flamegraph when invoking the context menu on a dir containing 30k 4KB files
Created attachment 178139 [details]
enable gwenview's context menu entry
Gwenview is looking if there's any image file in the list of files. Since there are non this takes a very long time. (In reply to David Redondo from comment #3) > Gwenview is looking if there's any image file in the list of files. Since > there are non this takes a very long time. There is prior research https://bugs.kde.org/show_bug.cgi?id=499551#c7 btw, and the same issue in ark. Does Dolphin determine the mime types of files when viewing a directory? (or the thumbnailing?). If so, could this be shared? (In reply to David Redondo from comment #5) > Does Dolphin determine the mime types of files when viewing a directory? (or > the thumbnailing?). I also raised the idea. https://bugs.kde.org/show_bug.cgi?id=499551#c11 https://invent.kde.org/frameworks/kio/-/merge_requests/1813 > If so, could this be shared? Anything is possible. It is done for the selected files already but not for the files within a selected folder. And they are two cases: the current folder (when you right click on a blank area of the current folder), and a selected folder within the current folder. The first case we could share the data, the second not so much, since it might not be loaded by dolphin. So I don't think this optimization is that great and necessary if we have what I suggest in https://invent.kde.org/frameworks/kio/-/merge_requests/1813 |