<table><tr><td style="">ansraliant created this revision.<br />Herald added a project: Konsole.<br />Herald added a subscriber: konsole-devel.<br />ansraliant 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/D15794">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Validate possible nullptr in MimeData</p>

<p>Bug 395666 reported crashes on yakuake in a wayland session. Further investigation revealed that other KDE product Kolourpaint experienced nullptr on wayland while getting MimeData which was consistent with the stacktrace provided by the author of the bug.</p>

<p>This diff validates the presence of MimeData before proceeding with the drag action.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Use wayland session</li>
<li class="remarkup-list-item">Open Yakuake in fullscreen</li>
<li class="remarkup-list-item">With a touch enabled laptop, scroll with many fingers (possibly 8)</li>
<li class="remarkup-list-item">Yakuake should not crash</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15794">https://phabricator.kde.org/D15794</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/TerminalDisplay.cpp</div></div></div><br /><div><strong>To: </strong>ansraliant<br /><strong>Cc: </strong>konsole-devel, herrold, ngraham, maximilianocuria, hindenburg<br /></div>