<table><tr><td style="">broulik created this revision.<br />broulik added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />broulik 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/D23261">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is for vendors and environments that don't want to allow their users to report bugs directly to us.<br />
By setting <tt style="background: #ebebeb; font-size: 13px;">InteractionAllowed</tt> to <tt style="background: #ebebeb; font-size: 13px;">false</tt> in <tt style="background: #ebebeb; font-size: 13px;">drkonqirc</tt> the following will change:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">For automatically restarted services, no hint is shown whatsoever</li>
<li class="remarkup-list-item">For application crashes a notification is shown with a Restart button but no status icon nor "Report bug" button</li>
</ul>
<p>The DrKonqi dialog itself is unchanged (for now?), which will show up in the rare case no notification service is running.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Put the following in my ~/.config/drkonqirc</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">[General]
InteractionAllowed=false</pre></div>
<ul class="remarkup-list">
<li class="remarkup-list-item">Ran <tt style="background: #ebebeb; font-size: 13px;">killall -6 plasmashell</tt>, plasmashell restarted without a trace</li>
<li class="remarkup-list-item">Ran <tt style="background: #ebebeb; font-size: 13px;">killall -6 dolphin</tt>, Dolphin crashed, and I got a new notification. Successfully managed to restart Dolphin.</li>
</ul>
<p><a href="https://phabricator.kde.org/F7260330" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F7260330: Screenshot_20190819_152501.png</a><br />
Old behavior with this setting to <tt style="background: #ebebeb; font-size: 13px;">true</tt> (default) is unchanged</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Verified that there are no stale <tt style="background: #ebebeb; font-size: 13px;">drkonqi</tt> instances under any circumstances</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R871 DrKonqi</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23261">https://phabricator.kde.org/D23261</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/main.cpp<br />
src/statusnotifier.cpp<br />
src/statusnotifier.h</div></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>