<table><tr><td style="">ahmadsamir created this revision.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />ahmadsamir 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/D18089">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When a process dies with exitStatus 0, it could well be the app exited<br />
cleanly, and there's no need to display an error message.</p>

<p>For example starting kate from a widget on the panel/desktop, where it<br />
shows the session chooser dialog before ever entering the main app event<br />
loop, then quitting/closing the dialog without starting kate. In a case<br />
like that matchesPendingRequest() will always return false as the service<br />
name hasn't (and won't) been changed from the unique x.xxx to org.kde.kate.</p>

<p>BUG: 389678<br />
FIXED-IN: 5.55.0</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Before applying the diff:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">set kate to "manually choose a session" on startup and add a kate widget to the desktop/panel and start kate from that widget</li>
<li class="remarkup-list-item">in the session chooser dialog, select quit (or close in newer versions)</li>
<li class="remarkup-list-item">an error message is displayed "KDEInit could not launch /usr/bin/kate"</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R303 KInit</div></div></div><br /><div><strong>BRANCH</strong><div><div>klauncher-kateSessionManager (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18089">https://phabricator.kde.org/D18089</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/klauncher/klauncher.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>