<table><tr><td style="">hoffmannrobert created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />hoffmannrobert requested review of this revision.
</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/D13612">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Remove trailing slash from folderUrl, too, when comparing to<br />
the file's url (minus file name minus trailing slash). FolderUrls<br />
like file:///home/user/Desktop/ may appear and fail comparing.</p>

<p>Fixes regression introduced in <a href="https://phabricator.kde.org/R119:07001277a8a0893aeb54240d7f5cdd9825fb57ed" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">07001277a8a0893aeb54240d7f5cdd9825fb57ed</a><br />
(see <a href="https://phabricator.kde.org/D10729" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D10729</a>) which fixes urls like<br />
file:///home/user/foo (if using a different folder than Desktop)<br />
but breaks moving files from one screen to another using normal<br />
Desktop folder.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Use folder view, Desktop folder, more than one screen.</li>
</ol>

<p>Create files and folders in Desktop folder and move them from one<br />
screen to another. The Copy/Move/Link menu must not appear<br />
and files/folders must be dropped onto the other screen.</p>

<ol class="remarkup-list" start="2">
<li class="remarkup-list-item">Use a different folder than Desktop (the same on both screens).</li>
</ol>

<p>Moving files/folders to another screen must work like in 1.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13612">https://phabricator.kde.org/D13612</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>containments/desktop/plugins/folder/foldermodel.cpp</div></div></div><br /><div><strong>To: </strong>hoffmannrobert<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>