<table><tr><td style="">rthomsen created this revision.<br />rthomsen added a reviewer: elvisangelaccio.<br />rthomsen set the repository for this revision to rARK Ark.<br />rthomsen added a project: Ark.<br />Restricted Application added a subscriber: kde-utils-devel.
</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/D2909" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In some archives parent folders of some files might not be part of the archive themselves, i.e. the archive does not contain entries for them. In this case ArchiveModel creates ArchiveDirNodes for these folders. However, the FileName and InternalID properties of these folders do not get a trailing slash. This results in faulty root nodes leading to e.g. broken drag-n-drop extraction of files within these folders.</p>
<p>This diff simply appends a traling slash to the properties.</p>
<p>Solves bug:<br />
<a href="https://bugs.kde.org/show_bug.cgi?id=367549" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=367549</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Open an archive which contains parentless files, e.g. the nested tar.gz archive within the attached archive in: <a href="https://bugs.kde.org/show_bug.cgi?id=367549" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=367549</a></li>
<li class="remarkup-list-item">Drag-and-drop extract e.g. the file <tt style="background: #ebebeb; font-size: 13px;">etc/nsswitch.conf</tt></li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>rARK Ark</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2909" rel="noreferrer">https://phabricator.kde.org/D2909</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>part/archivemodel.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>rthomsen, elvisangelaccio<br /><strong>Cc: </strong>kde-utils-devel, tctara<br /></div>