<table><tr><td style="">broulik created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D7630" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This will route the event through the containment first which can then intercept it, e.g. to prevent Escape from exiting showing desktop while renaming where it should only cancel that.</p>
<p>CCBUG: 352988</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I can now <tt style="background: #ebebeb; font-size: 13px;">event.accept</tt> in FolderView's escape handlers to prevent exiting showing desktop when renaming and instead only cancel the rename.</p>
<p>I can still type to launch KRunner. I can still type a new file name just fine. I can still navigate with my keys.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7630" rel="noreferrer">https://phabricator.kde.org/D7630</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/desktopview.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>