D10513: Fix launching by touchscreen tap

Eike Hein noreply at phabricator.kde.org
Wed Feb 14 15:51:42 UTC 2018


hein created this revision.
hein added a reviewer: Plasma.
Restricted Application added a project: Plasma.
hein requested review of this revision.

REVISION SUMMARY
  The mouse handling code relied on onPositionChanged to do setup work
  prior to onPressed. This is never guaranteed, but it's is likely to
  happen when using the mouse (since the pointer is usually moved from
  a panel icon to a delegate elsewhere on screen). In a touchscreen
  scenario, these odds reverse.
  
  The lesson to take away: Never assume onPositionChanged has run
  before onPressed.
  
  BUG:366527

REPOSITORY
  R119 Plasma Desktop

BRANCH
  Plasma/5.12

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

AFFECTED FILES
  applets/kicker/package/contents/ui/ItemGridView.qml

To: hein, #plasma
Cc: plasma-devel, 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/20180214/dfa05e89/attachment-0001.html>


More information about the Plasma-devel mailing list