The source project of this merge request has been removed.
Add stylus support to window decoration and window focus
- Add
tabletToolEvent()
to DecorationEventFilter class so it can handle tablet events. - Add
tabletToolEvent()
to MoveResizeFilter class to avoid incorrect titlebar highlight after a window is resized by using a stylus. - Add
tabletToolEvent()
to WindowActionInputFilter class so window focus can be changed by clicking on the window content area when using a stylus. - Add
update()
toTabletInputRedirection::tabletToolEvent()
to enable switching window focus by using a stylus.
stylus-support-for-titlebar-h264
See also
Known issues
-
The titlebar must be clicked once to function normally. -
When the stylus hovers on the decoration at first, the content area will not respond to the stylus. -
The menu has a titlebar when clicking with a stylus. (not a regression, could be a Qt bug. https://bugs.kde.org/show_bug.cgi?id=445311) -
If kickoff (can't reproduce on other applets) is opened by touch for the first time after kwin_wayland starts, it will not respond to stylus hover events until clicking on it. ( MouseArea
inKickoffItemDelegate
needs rework. https://bugs.kde.org/show_bug.cgi?id=445310) -
After moving a window, the content area will not respond to stylus (hover/click events) until clicking once.
Edited by Fushan Wen