Bug 368480 - Panel and Desktop temporarily freeze when moving and overwriting multiple files through Dolphin
Summary: Panel and Desktop temporarily freeze when moving and overwriting multiple fil...
Status: RESOLVED DUPLICATE of bug 358231
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.7.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 391269 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-09 07:11 UTC by João Vidal da Silva
Modified: 2020-11-09 04:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description João Vidal da Silva 2016-09-09 07:11:28 UTC
If you move files using Dolphin and some of them overwrite others in the destination folder, the Panel and the Desktop will freeze temporarily.
The freeze duration is proportional to the number of files being overwritten, not to their size nor to the medium speed.

My platform is Manjaro (btw, maybe you could add it to the combobox).

Reproducible: Always

Steps to Reproduce:
In this example we'll build a test scenario:

1. Launch Dolphin and show the embedded terminal (press F4)

2. Run in the terminal the line below. This will create a folder 'test' inside '/tmp' and inside it a folder called 'subfolder'. It will also create in both folders a set of 50 empty files named '1' to '50'. I chose '/tmp' because in my system it is tmpfs, so we're working in RAM. Dolphin will end up showing the contents of '/tmp/test/subfolder'.

mkdir /tmp/test && cd /tmp/test && for a in {1..50}; do touch $a; done && mkdir subfolder && cd subfolder && for a in {1..50}; do touch $a; done

3. Select all files and press Ctrl-X to mark the 'cut'

4. Go up one folder to '/tmp/test' and press Ctrl-V to paste the files. When asked if you want to overwrite files, check 'Apply to all' and press 'Overwrite'

5. Quickly navigate to 'subfolder' to find it empty.

6. The Notifications icon on the Panel started showing the operation's progress but is now frozen as is the entire Panel and Desktop.

7. After a while all goes back to normal and you'll be notified the operation ended.
Comment 1 Alexander Mentyu 2018-03-04 15:33:54 UTC
Can reproduce in:

Plasma: 5.12.2
Apps: 17.12.2
Frameworks: 5.43.0
Qt: 5.10.1
Kernel: 4.14.22-1-MANJARO
OS: Netrunner Rolling
Comment 2 David Edmundson 2018-03-06 14:00:35 UTC
*** Bug 391269 has been marked as a duplicate of this bug. ***
Comment 3 Patrick Silva 2018-05-06 15:29:34 UTC
Reproducible on both Arch Linux (plasma 5.12.5) and Neon dev unstable.
Comment 4 Patrick Silva 2020-11-08 13:46:20 UTC
duplicate of bug 358231 ?
Comment 5 João Vidal da Silva 2020-11-09 04:55:29 UTC
(In reply to Patrick Silva from comment #4)
> duplicate of bug 358231 ?

It seems to me it is.

*** This bug has been marked as a duplicate of bug 358231 ***