Ticket #3137 (closed bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

zoom out by single tap with two fingers not working

Reported by: bbinet Owned by:
Priority: minor Milestone: 2.11 Release
Component: general Version: 2.10
Keywords: mobile Cc:
State:

Description

Currently, the pinch zoom control is activated after the click handler, so it takes precedence over the click handler. Multitouch events are then stopped by the pinch handler which will try to apply pinch zooming.

One solution could be to change order of activation of both controls and create some logic in the click handler to detect if all touches remain at the same location (given a tolerance). So we could detect if this is a single tap with two fingers or if this is a pinch gesture to be propagated to the pinch zoom control.

Change History

Changed 2 years ago by tschaub

The click handler overhaul took me a bit farther than originally anticipated. r11628 adds the pixel tolerance check for multiple touches. I'll create a patch for the entire batch of changes on #3133. If that proves too big to review, we can split up the patches.

Changed 2 years ago by bbinet

  • status changed from new to closed
  • resolution set to duplicate

You have already done all the job in #3133 :)

Note: See TracTickets for help on using tickets.