Bug 373015 - With many files selected, viewer is late to start
Summary: With many files selected, viewer is late to start
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.08.2
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-28 06:09 UTC by Tracy
Modified: 2018-06-02 07:22 UTC (History)
2 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 Tracy 2016-11-28 06:09:58 UTC
Sometimes there are many jpeg files in a folder, let us say, thousands.

I start Dolphin and select many of them to view in a photo viewer, let us say, 500 photos. The selection's background changes color. Then I right-click, select "Open with", select "Gwenview" or other viewer.

Do you think the Gwenview starts?

Instead of the viewer starting and showing me the first picture, a very intensive disk activity begins. For 500 photos, it lasts 30 seconds. For thousands of photos, it takes minutes! Likely, during this time thumbnailing or caching is occurring.

Then only the viewer starts and from there on works correctly. 

Besides, there is a few seconds delay after the right click, before the popup dialog to select the viewer appears.

It wasn't so a year ago or so, with earlier versions of openSUSE. The viewer there was beginning to show the first image immediately.


The user shall have some control over thumbnailing or caching. I don't want to wait for minutes until an activity that I don't need is finished. The thumbnailng or caching can occur during viewing of the first few photos, or shall be disable-able. I haven't seen any hard drive activity more intense than this; I am worried about the disk. 

My home holder is on a mechanical hard drive. The OS and swap are on a SSD. The viewer's starting is different when it is started from command line: gwenview my_pattern*.jpg
Comment 1 Elvis Angelaccio 2016-11-28 09:50:59 UTC
The delay after right-clicking is caused by https://bugs.kde.org/show_bug.cgi?id=372999
Comment 2 Christoph Feck 2016-11-30 15:05:37 UTC
Can you check in the task manager (Ctrl+Esc) if there are multiple Gwenview processes started when you try to open multiple images at once?
Comment 3 Tracy 2016-12-01 10:43:05 UTC
(In reply to Christoph Feck from comment #2)
> Can you check in the task manager (Ctrl+Esc) if there are multiple Gwenview
> processes started when you try to open multiple images at once?


Before the tumbnailing/caching is finished, Gwenview is not starting.

After, one instance starts and shows the icons (small versions of photos).
Comment 4 Julian Steinmann 2018-05-18 15:15:02 UTC
If I try to reproduce this behavior with ~200 photos, I do not have a delay at all. The right-clicking bug has since been resolved as mentioned in comment 1. @Tracy, could you shortly confirm that this bug does no longer exist with a newer version of Dolphin?
Comment 5 Julian Steinmann 2018-06-02 07:22:05 UTC
No response -> closing. Please reopen this bug report if you can still reproduce the behavior with a newer version of Dolphin. Thanks!