← Back to team overview

touch-packages team mailing list archive

[Bug 1365471] Re: Long-tapping doesn't work on any control

 

Ah, just realised that the bug refers to any component. Actually the
problem is, that this is due to the way a MouseArea works. All
components you listed here are derived from AbstractButton, and that
component also has pressAndHold() signal. Now, that signal is a
forwarded signal from the MouseArea the component uses. And here comes
the problem: MouseArea does NOT emit clicked event if the pressAndHold
signal is connected/implemented. And we have that. So a release after a
long press actually causes a pressAndHold to be emitted, and clicked
signal to be suppressed. This is a behaviour we cannot really change.

-- 
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/1365471

Title:
  Long-tapping doesn't work on any control

Status in Ubuntu UI Toolkit:
  Triaged
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Triaged

Bug description:
  Problem occurs with: Ubuntu 14.10 r22
  Does not occur with: iOS 7, Windows Phone 8.0

  1. Long-tap on any control: for example, a button, switch, checkbox, or page stack item.
  2. Let go.

  What happens: Nothing.

  What should happen: Unless the control has a specific action for long-
  tapping, it should activate just as if you did a short tap.

  Fixing this would be one way of fixing bug 1289329.

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


References