<table><tr><td style="">rkflx added subscribers: dfaure, rkflx.<br />rkflx added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8274" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Unfortunately, this two year old patch does not apply for me anymore to the current git master (while it did apply to v5.15.0, it would not compile then).</p>

<p>In addition, I'm not convinced this should be changed at the Frameworks level. Developers might rely on the current behaviour, so the patch should probably rather clarify the <a href="https://api.kde.org/frameworks/kio/html/namespaceKIO.html#a8e3118adc0bb43d03ad15d67bc3d335c" class="remarkup-link" target="_blank" rel="noreferrer">API docs</a> from <tt style="background: #ebebeb; font-size: 13px;">cp</tt> to <tt style="background: #ebebeb; font-size: 13px;">cp -a</tt>. According to <a href="https://phabricator.kde.org/p/dfaure/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;" rel="noreferrer">@dfaure</a>, this is <a href="https://bugs.kde.org/show_bug.cgi?id=124898#c2" class="remarkup-link" target="_blank" rel="noreferrer">on purpose</a>. If your IRC logs say otherwise, feel free to post them here for reference.</p>

<p>To give a practical example: Let's assume in Dolphin a user copies a folder to another location on the same partition, which he later plans to restore after trying out some things in the original folder. He would rightly expect to get back the original state, including all symlinks. With your patch (please correct me if I misunderstood) this would break.</p>

<p>Therefore, I would encourage you (in addition to the API docs modification) to provide patches, or at least open bugzilla issues where still missing, against applications where a deep copy would be the appropriate behaviour indeed (e.g. Gwenview).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8274" rel="noreferrer">https://phabricator.kde.org/D8274</a></div></div><br /><div><strong>To: </strong>shlomif<br /><strong>Cc: </strong>rkflx, dfaure, bcooksley, Frameworks<br /></div>