D10308: Send hoverLeave or hoverMotion after touch up on decoration

Martin Flöser noreply at phabricator.kde.org
Sun Feb 4 20:24:54 UTC 2018


graesslin created this revision.
graesslin added reviewers: KWin, Plasma.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.
graesslin requested review of this revision.
Restricted Application edited projects, added Plasma; removed KWin.

REVISION SUMMARY
  On touch down a first hover motion is sent to the decoration. Thus e.g. a
  button enters the hovered state. On touch release so far the decoration
  did not get a leave event resulting in the button still being hovered.
  
  This change ensures the leave event is sent or if the pointer is also on
  the decoration a motion to the pointer position is sent.
  
  BUG: 386231
  FIXED-IN: 5.12.1

TEST PLAN
  New test case and manual testing to verify that the maximize
  button is no longer hovered after touch down/up on it

REPOSITORY
  R108 KWin

BRANCH
  hover-leave-on-deco-after-touch-5.12

REVISION DETAIL
  https://phabricator.kde.org/D10308

AFFECTED FILES
  autotests/integration/decoration_input_test.cpp
  input.cpp

To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180204/4015b173/attachment.html>


More information about the Plasma-devel mailing list