<table><tr><td style="">apol created this revision.<br />apol added reviewers: Plasma, KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />apol 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/D29728">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The code we have that adds .desktop at the end of the resource name did not take<br />
into account that it might be the case that the application ends with .desktop<br />
like it happens on telegram's desktop client</p>
<p>This patch looks for the file instead of just checking the name to account for<br />
it. Otherwise the look up happens in KConfig.</p>
<p>Fixes flathub/org.telegram.desktop#27 on github</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested locally, works.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</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/D29728">https://phabricator.kde.org/D29728</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>abstract_client.cpp</div></div></div><br /><div><strong>To: </strong>apol, Plasma, KWin<br /><strong>Cc: </strong>kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>