<table><tr><td style="">loh.tar created this revision.<br />loh.tar added a reviewer: Kate.<br />Herald added a project: Kate.<br />Herald added a subscriber: kwrite-devel.<br />loh.tar 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/D19397">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>BUG:351443</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Fixed in a way as suggested in bug report.</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);">Expected Results:
Exit without asking (file was not edited since last time in kate, so there is no info to lose)</pre></div>
<p>This dialog is for me pretty confusing and annoying.</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">In which case may that question (without this patch) useful?</li>
<li class="remarkup-list-item">Why should I reload a file when I like to close Kate?</li>
<li class="remarkup-list-item">Click "Ignore" you will asked again, where you can overwrite the file on disk. The opposite from your first intend.</li>
<li class="remarkup-list-item">Click "Diff" keeps the dialog the focus with the result that you can't scroll in the loaded diff. With dark theme is it hard to read too</li>
<li class="remarkup-list-item">You can end in some "endless" dialog boxes</li>
</ul>
<p>So, how about to remove that dialog?<br />
<a href="https://phabricator.kde.org/F6643583" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6643583: 1551297903.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19397">https://phabricator.kde.org/D19397</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kate/katemainwindow.cpp</div></div></div><br /><div><strong>To: </strong>loh.tar, Kate<br /><strong>Cc: </strong>kwrite-devel, Kate, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann<br /></div>