<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>430715</bug_id>
          
          <creation_ts>2020-12-22 18:59:09 +0000</creation_ts>
          <short_desc>Copying multiple files crashes dolphin in special file constellations</short_desc>
          <delta_ts>2020-12-22 19:05:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>general</component>
          <version>20.12.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>430374</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>contact</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>dolphin-bugs-null</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1987613</commentid>
    <comment_count>0</comment_count>
      <attachid>134269</attachid>
    <who name="">contact</who>
    <bug_when>2020-12-22 18:59:09 +0000</bug_when>
    <thetext>Created attachment 134269
Copying the &apos;foo&apos; 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 &apos;Apply to All&apos; 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 &apos;foo&apos; in two locations A and B
2. Have at least one file in folder &apos;foo&apos; A
3. Copy folder &apos;foo&apos; A
4. Attempt to paste the folder in the same location &apos;foo&apos; B exists
5. Tick &apos;Apply to All&apos; 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: &quot;~/repro/A/foo&quot;
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987614</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-22 19:00:10 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 430374 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987617</commentid>
    <comment_count>2</comment_count>
    <who name="">contact</who>
    <bug_when>2020-12-22 19:04:31 +0000</bug_when>
    <thetext>Information from coredumpctl:

Core was generated by `dolphin&apos;.
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))]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987618</commentid>
    <comment_count>3</comment_count>
    <who name="">contact</who>
    <bug_when>2020-12-22 19:05:01 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #1)
&gt; 
&gt; *** 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!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>134269</attachid>
            <date>2020-12-22 18:59:09 +0000</date>
            <delta_ts>2020-12-22 18:59:09 +0000</delta_ts>
            <desc>Copying the &apos;foo&apos; folder from A to B recreates this issue</desc>
            <filename>repro.zip</filename>
            <type>application/zip</type>
            <size>474</size>
            <attacher>contact</attacher>
            
              <data encoding="base64">UEsDBBQAAAAAACmellEAAAAAAAAAAAAAAAACAAAAQS9QSwMEFAAAAAAAKZ6WUQAAAAAAAAAAAAAA
AAYAAABBL2Zvby9QSwMEFAAAAAAAi5yWUUPfiDQCAAAAAgAAABMAAABBL2Zvby9UZXh0IEZpbGUu
dHh0IApQSwMEFAAAAAAAKZ6WUQAAAAAAAAAAAAAAAAIAAABCL1BLAwQUAAAAAAApnpZRAAAAAAAA
AAAAAAAABgAAAEIvZm9vL1BLAQI/AxQAAAAAACmellEAAAAAAAAAAAAAAAACAAAAAAAAAAAAAADt
QQAAAABBL1BLAQI/AxQAAAAAACmellEAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAADtQSAAAABBL2Zv
by9QSwECPwMUAAAAAACLnJZRQ9+INAIAAAACAAAAEwAAAAAAAAAAAAAApIFEAAAAQS9mb28vVGV4
dCBGaWxlLnR4dFBLAQI/AxQAAAAAACmellEAAAAAAAAAAAAAAAACAAAAAAAAAAAAAADtQXcAAABC
L1BLAQI/AxQAAAAAACmellEAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAADtQZcAAABCL2Zvby9QSwUG
AAAAAAUABQAJAQAAuwAAAAAA
</data>

          </attachment>
      

    </bug>

</bugzilla>