<table><tr><td style="">broulik 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/D4534" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>The "untrusted non-executable desktop file" and "script execution prompt" are completely orthogonal (for some reason).</p>

<p>With this patch I still get the security warning:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">non-executable .desktop file on some random location: → "would you like to run or open this file?" → Run → "If you don't trust this application, click Cancel"</li>
<li class="remarkup-list-item">executable .desktop file on some random location: → "If you don't trust this application, click Cancel"</li>
</ul>

<ul class="remarkup-list">
<li class="remarkup-list-item">non-executable .desktop file on desktop: → "If you don't trust this application, click Cancel"</li>
<li class="remarkup-list-item">executable .desktop file on desktop → runs right away</li>
</ul>

<p>What I changed is that I no longer get the "would you like to run or open this file?" prompt for executable .desktop files on desktop:/ which breaks the workflow of many.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4534" rel="noreferrer">https://phabricator.kde.org/D4534</a></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>broulik, hein, fvogt, Plasma, davidedmundson, dfaure<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>