Open Bug 1658009 Opened 4 years ago Updated 4 years ago

Dispatch-to-content mechanism is broken when pinch-zooming via mousewheel+modifier

Categories

(Core :: Panning and Zooming, defect, P2)

Desktop
All
defect

Tracking

()

People

(Reporter: botond, Unassigned)

References

(Blocks 2 open bugs)

Details

STR

  1. Run Firefox with desktop zooming enabled (now default on nightly)
  2. In about:config set mousewheel.with_alt.action=5
  3. Load any page that wants to handle pinch gestures itself, such as Google Maps
  4. Zoom in with alt+mousewheel

Expected results

The gesture is handled by the page (e.g. Google Maps zooms in and shows a more detailed map).

Actual results

The gesture is handled by the browser (e.g. we just repaint the same-detail map image larger).

The codepath that handles pinch-zooming via mousewheel+modifier does not handle dispatch-to-content at all -- it just treats the synthesized events as confirmed.

I marked this as blocking desktop-zoom-post since we're not shipping mousewheel+modifier zooming initially, but we may want to fix it sooner because mousewheel+modifier is useful for reproing zooming issues locally (particularly on Linux).

Priority: P3 → P2
You need to log in before you can comment on or make changes to this bug.