<table><tr><td style="">anthonyfieroni created this revision.<br />anthonyfieroni added reviewers: Calligra: 3.0, boemann, danders.<br />Herald added a project: Calligra: 3.0.<br />Herald added a subscriber: Calligra-Devel-list.<br />anthonyfieroni 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/D23327">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When you open Gemini in desktop and close the document view became empty (maybe noCleanUp should protected against) however you have no options except to close the window which crash since root document is dangling pointer (crash in isLoading() with invalid this pointer). I try to reload a document but instead touch view should be activated?</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Open a document in Gemini (another issue is templates has a protocol templates:// which is not handled any, i guess it was in framework)</li>
<li class="remarkup-list-item">Switch to desktop view</li>
<li class="remarkup-list-item">File -> close</li>
</ol>

<p>Another issue is when you try to switch on desktop mode but there is no document loaded.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R8 Calligra</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23327">https://phabricator.kde.org/D23327</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>gemini/MainWindow.cpp<br />
libs/main/KoMainWindow.cpp<br />
libs/main/KoPart.cpp</div></div></div><br /><div><strong>To: </strong>anthonyfieroni, Calligra: 3.0, boemann, danders<br /><strong>Cc: </strong>Calligra-Devel-list, dcaliste, cochise, vandenoever<br /></div>