[plasmashell] [Bug 368698] Can't explore plasmoids with a touch screen

2017-06-29 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=368698

David Edmundson  changed:

   What|Removed |Added

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

--- Comment #5 from David Edmundson  ---
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   -1src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp
M  +2-0src/qmlcontrols/draganddrop/DeclarativeDragArea.h

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

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

[plasmashell] [Bug 368698] Can't explore plasmoids with a touch screen

2016-09-16 Thread Thomas Pfeiffer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368698

--- Comment #4 from Thomas Pfeiffer  ---
(In reply to Kai Uwe Broulik from comment #3)
> I said "That's a general problem with drag area and *touch*", behavior for
> when using a mouse wouldn't change. Qt can tell when it's an actual mouse
> click or a finger tap.

I know, and my reply was based on that knowledge. Press-and-hold is just not a
nice interaction, neither with touch nor with a mouse.
But as I said, I think this is acceptable in a desktop environment which is not
optimized for touch in general.

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


[plasmashell] [Bug 368698] Can't explore plasmoids with a touch screen

2016-09-13 Thread Kai Uwe Broulik via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368698

--- Comment #3 from Kai Uwe Broulik  ---
I said "That's a general problem with drag area and *touch*", behavior for when
using a mouse wouldn't change. Qt can tell when it's an actual mouse click or a
finger tap.

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


[plasmashell] [Bug 368698] Can't explore plasmoids with a touch screen

2016-09-13 Thread Thomas Pfeiffer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368698

Thomas Pfeiffer  changed:

   What|Removed |Added

 CC||thomas.pfeif...@kde.org

--- Comment #2 from Thomas Pfeiffer  ---
The problem with "drag only on press-and-hold" is that it makes the widget
explorer's main purpose - to add widgets to the desktop or panel via drag and
drop - more cumbersome.

Drag on hold is nice for cases where dragging is only a secondary usecase (best
example being mobile device home screens), whereas here it's the primary one.

That said, Plasma Desktop is not focused on touch usage, so having a
sub-optimal experience with touch is acceptable. We just have to make sure we
don't carry that UI over 1:1 to Plasma Mobile.

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


[plasmashell] [Bug 368698] Can't explore plasmoids with a touch screen

2016-09-13 Thread Kai Uwe Broulik via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368698

Kai Uwe Broulik  changed:

   What|Removed |Added

 CC||k...@privat.broulik.de
 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #1 from Kai Uwe Broulik  ---
That's a general problem with drag area and touch. I did experiment with
DragArea initiating drag only on press-and-hold in case of a touch event. Might
be worth looking into that again.

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


[plasmashell] [Bug 368698] Can't explore plasmoids with a touch screen

2016-09-12 Thread Aleix Pol via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=368698

Aleix Pol  changed:

   What|Removed |Added

  Flags||Usability+, VisualDesign+

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