[dolphin] [Bug 440766] New: Service menu actions are very slow when used with large numbers of files
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Mon Aug 9 06:34:56 BST 2021
https://bugs.kde.org/show_bug.cgi?id=440766
Bug ID: 440766
Summary: Service menu actions are very slow when used with
large numbers of files
Product: dolphin
Version: 21.04.2
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: dolphin-bugs-null at kde.org
Reporter: cvnnxs at outlook.com
CC: kfm-devel at kde.org
Target Milestone: ---
Created attachment 140595
--> https://bugs.kde.org/attachment.cgi?id=140595&action=edit
Bash script to be used as a serivce action to demonstrate the issue
SUMMARY
Using a service menu in Dolphin's context menu to perform an action on a fairly
large number of selected files is very slow, regardless of the size of the
files or the action to be performed. The time increases as the number of
selected files does, becoming quite noticeable at about 25 files, with about a
5 second delay at that point before the action is executed. I have observed
this with both my own custom service menus as well as built-in service menus,
such as the "Compress" menu. This behavior occurs when using either %F or %U in
the desktop file to pass the selection to the script.
STEPS TO REPRODUCE
1. Navigate to a folder with a substantial number of files
2. Select a number of files
3. Right-click on the selection, and execute an action from a service menu
OBSERVED RESULT
There is a significant delay before any action is executed; for example, a test
service (attached) that does nothing but open a kdialog takes roughly 9 seconds
to execute on a selection of about 75 small text files.
EXPECTED RESULT
When running the same test script from Nautilus/Files scripts context menu on
the same selection of files, the kdialog box appears almost instantly. I would
expect Dolphin's performance to be at least comparable.
SOFTWARE/OS VERSIONS
Fedora 34
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list