broulik created this revision. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY 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. CCBUG: 352988 TEST PLAN I can now `event.accept` in FolderView's escape handlers to prevent exiting showing desktop when renaming and instead only cancel the rename. I can still type to launch KRunner. I can still type a new file name just fine. I can still navigate with my keys. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D7630 AFFECTED FILES shell/desktopview.cpp To: broulik, #plasma Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas