<table><tr><td style="">marten created this revision.<br />marten added reviewers: Frameworks, dfaure.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />marten 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/D19847">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The misleading title that brought this dialogue to my attention is where there is only one selected item to move to the trash.  In this case the question wording is correct but the message box title says "Delete Permanently?".  This is the code for "case Trash" and "if (prettyList.count() == 1)" in KIO::JobUiDelegate::askDeleteConfirmation().</p>

<p>This should be corrected to say "Move to Trash" as in the other conditional below.</p>

<p>There are some other anomalies which are also corrected in this diff:</p>

<p>a)  The "Delete Permanently" message box title has a question mark, but "Move to Trash" does not.  I can't find a HIG rule for which of those is correct, but for consistency and in accordance with "Do not use the title to explain what to do in the dialog – that’s the purpose of the main instruction" the question marks are removed.</p>

<p>b) Capitalisation of "Trash" made consistent in the question for trash of multiple items.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Built KIO with these changes, checked all combinations of delete/trash operations in Dolphin and verified that the correct message box title and question is shown.</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/D19847">https://phabricator.kde.org/D19847</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/widgets/jobuidelegate.cpp</div></div></div><br /><div><strong>To: </strong>marten, Frameworks, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>