Bug 430715

Summary: Copying multiple files crashes dolphin in special file constellations
Product: [Applications] dolphin Reporter: contact
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kfm-devel, nate
Priority: NOR    
Version: 20.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Copying the 'foo' folder from A to B recreates this issue

Description contact 2020-12-22 18:59:09 UTC
Created attachment 134269 [details]
Copying the 'foo' folder from A to B recreates this issue

SUMMARY
If a folder in a location A, containing at least one file, is copied and attempted to be pasted into a different location B where a folder of the same name exists, and the user ticks 'Apply to All' in the popup asking how to handle the folders with identical names, dolphin crashes after around a second.
This is reproducible.

STEPS TO REPRODUCE
1. Have a folder named 'foo' in two locations A and B
2. Have at least one file in folder 'foo' A
3. Copy folder 'foo' A
4. Attempt to paste the folder in the same location 'foo' B exists
5. Tick 'Apply to All' in the popup
6. Wait around a second

OBSERVED RESULT
Dolphin crashes.
The following is logged in the shell

kf.kio.widgets: Could not open file for comparison: "~/repro/A/foo"
zsh: segmentation fault (core dumped)  dolphin


EXPECTED RESULT
Copying works like in other situations

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: Arch Linux: Linux 5.9.14
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I am currently trying to figure out how to locate the core dump, will add details from that later
Comment 1 Nate Graham 2020-12-22 19:00:10 UTC

*** This bug has been marked as a duplicate of bug 430374 ***
Comment 2 contact 2020-12-22 19:04:31 UTC
Information from coredumpctl:

Core was generated by `dolphin'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f806685e8e5 in QAction::setEnabled(bool) () from /usr/lib/libQt5Widgets.so.5
[Current thread is 1 (Thread 0x7f8060af2a80 (LWP 68530))]
Comment 3 contact 2020-12-22 19:05:01 UTC
(In reply to Nate Graham from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 430374 ***

Ah, did not find that one while searching, sorry about the duplicate and thanks!