← Back to team overview

touch-packages team mailing list archive

[Bug 1435805] [NEW] Expose DirectionalDragArea in the UITK

 

Public bug reported:

One strong principle in Ubuntu Touch’s UX is the use of edges.
In particular, the bottom edge is reserved for applications to implement innovative and useful interactions.

At the moment implementing such a gesture recognition in pure QML
requires using an invisible mouse area at the bottom of the view to
detect the start of a drag gesture. Unfortunately if there is content
below that invisible drag area, it can’t be interacted with, because the
mouse area will swallow mouse events.

In the unity8 code base, there is a custom component called
DirectionalDragArea (implemented in C++) that solves this issue nicely.
Unfortunately it’s private to unity8 and can’t be reused in
applications.

This bug report is to request considering moving ownership of this
component to the UITK, so that it can be exposed publicly and used by
application developers.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1435805

Title:
  Expose DirectionalDragArea in the UITK

Status in ubuntu-ui-toolkit package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  New

Bug description:
  One strong principle in Ubuntu Touch’s UX is the use of edges.
  In particular, the bottom edge is reserved for applications to implement innovative and useful interactions.

  At the moment implementing such a gesture recognition in pure QML
  requires using an invisible mouse area at the bottom of the view to
  detect the start of a drag gesture. Unfortunately if there is content
  below that invisible drag area, it can’t be interacted with, because
  the mouse area will swallow mouse events.

  In the unity8 code base, there is a custom component called
  DirectionalDragArea (implemented in C++) that solves this issue
  nicely. Unfortunately it’s private to unity8 and can’t be reused in
  applications.

  This bug report is to request considering moving ownership of this
  component to the UITK, so that it can be exposed publicly and used by
  application developers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1435805/+subscriptions


Follow ups

References