<table><tr><td style="">loh.tar 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/D18117">View Revision</a></tr></table><br /><div><div>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>we can just skip the messaging always, we have always inline messages, I think that would be ok</p></blockquote>

<p>very well, will remove that too</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>we should just set openSuccess to false if we have an doc->openingError() and the document is empty</p></blockquote>

<p>I think this not sufficient. These "openingError()" is somewhere used to change the document icon. So I believe there is a need to change this to an (u)int value, 0=good, 1=someTrouble, 3=seriousProblem=orphaned</p>

<p>This way someone can have in a document overview a hint that at some docs is something odd. This pic is taken after a session restore. It's my own (not finished) plugin, other looks similar.<br />
<a href="https://phabricator.kde.org/F6536953" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F6536953: 1547010852.png</a></p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Here is the gone foo file in a visible view. There was also a "New File" inline message which disappear quickly [1]. So I like to fix this that this "Not Exist" message is inline and not (only) the "New File"</li>
<li class="remarkup-list-item">The testfile has the "to big trouble" issue.</li>
</ul>

<p>To solve this all we need a solution in <a href="https://phabricator.kde.org/D18116" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D18116</a>/KateBuffer::openFile</p>

<p>[1] I had Dominik pointed <a href="https://phabricator.kde.org/D16336" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D16336</a> that this message stuff need love, but got no response</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/D18117">https://phabricator.kde.org/D18117</a></div></div><br /><div><strong>To: </strong>loh.tar, Kate, cullmann, dhaumann<br /><strong>Cc: </strong>kwrite-devel, Kate, hase, michaelh, ngraham, demsking, cullmann, sars, dhaumann<br /></div>