DebugConsole window does not take keyboard input
ClosedPublic

Authored by graesslin on Aug 29 2016, 1:38 PM.

Details

Summary

In order to add more tabs which can further help monitoring how KWin
handles some aspects the DebugConsole is changed to not take keyboard
input. This means it can only be navigated using pointer device or touch
screen.

This is needed for adding a new tab to monitor clipboard changes. On
Wayland sometimes windows don't get the clipboard, so it would be
helpful to have a debug monitor to see when the clipboard changes. But
for that debug console window may not take keyboard events.

To support this DebugConsole sets the WA_ShowWithoutActivating attribute
which gets honored by the InternalWindowEventFilter and does not forward
key events to such windows.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 6358.Aug 29 2016, 1:38 PM
graesslin retitled this revision from to DebugConsole window does not take keyboard input.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptAug 29 2016, 1:38 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
bshah accepted this revision.Sep 9 2016, 1:19 PM
bshah added a reviewer: bshah.
This revision is now accepted and ready to land.Sep 9 2016, 1:19 PM
This revision was automatically updated to reflect the committed changes.