<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: ahmadsamir, broulik.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />dfaure 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/D29558">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This will not look up the preferred app or run scripts/executables, it always shows an open-with dialog.<br />
Bonus feature compared to KRun::displayOpenWithDialog or KOpenWithDialog: it will first determine the mimetype<br />
(even for remote URLs), which allows to "remember this app for this mimetype".</p>
<p>On the other hand, this loses the support for multiple URLs; OpenUrlJob is about a single URL.<br />
I guess for multiple URLs the best solution is to use KOpenWithDialog directly.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>New unittest</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>2020_05_displayOpenWithDialog</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29558">https://phabricator.kde.org/D29558</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/openurljobtest.cpp<br />
autotests/openurljobtest.h<br />
src/gui/openurljob.cpp<br />
src/gui/openurljob.h</div></div></div><br /><div><strong>To: </strong>dfaure, ahmadsamir, broulik<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>