D4972: Start drag with press and hold on touch events

David Edmundson noreply at phabricator.kde.org
Wed Mar 8 01:59:02 UTC 2017


davidedmundson created this revision.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  This patch consists of two changes:
  
  - starting drags on press and hold
  - not starting drags when the event is from a touch event
  
  This means a user can scroll on a widget explorer with a touch screen
  correctly without it immediately starting a drag, but can still drag an
  item using a press and hold pattern.
  
  BUG: 368698

TEST PLAN
  Scrolled in Widget Explorer
  Added widget with press and hold
  
  Surprisingly that's the only Plasma usage of DragArea.

REPOSITORY
  R296 KDeclarative

BRANCH
  master

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

AFFECTED FILES
  src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp
  src/qmlcontrols/draganddrop/DeclarativeDragArea.h

To: davidedmundson, #plasma
Cc: plasma-devel, #frameworks, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170308/9739d605/attachment.html>


More information about the Kde-frameworks-devel mailing list