https://bugs.kde.org/show_bug.cgi?id=368698

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kde
                   |                            |clarative/86bbebdee213f08ae
                   |                            |615d7459304cbd17f6b7d7d
             Status|CONFIRMED                   |RESOLVED

--- Comment #5 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 86bbebdee213f08ae615d7459304cbd17f6b7d7d by David Edmundson.
Committed on 21/06/2017 at 11:40.
Pushed by davidedmundson into branch 'master'.

Start drag with press and hold on touch events

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.

Test Plan:
Scrolled in Widget Explorer
Added widget with press and hold

Surprisingly that's the only Plasma usage of DragArea.

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: mart, hein, broulik, plasma-devel, #frameworks

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D4972

M  +37   -1    src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp
M  +2    -0    src/qmlcontrols/draganddrop/DeclarativeDragArea.h

https://commits.kde.org/kdeclarative/86bbebdee213f08ae615d7459304cbd17f6b7d7d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to