Implement B2G bindings for the touch-action property




Panning and Zooming
4 years ago
3 years ago


(Reporter: kats, Assigned: nl)


Firefox Tracking Flags

(Not tracked)


Bug 795567 added some support for the touch-action property and added widget bindings for Metro. We should add widget bindings for B2G as well.
See Also: → bug 960316

Comment 1

4 years ago
I would like to volunteer to implement this feature. Kats, could you assign it to me?
Could you also please point me to the files/lines where touch events generation and interaction of b2g widget and apzc happens? I tried to look at widget/gonk folder but didn't find smth relevant.
Sure. You may find the diagram at [1] useful for navigating the flow of input events on B2G. It's pretty messy.

Touch events on B2G are created in the widget code at [2] and after going through a round of hit detection in the root B2G process, they are dispatched to the APZ code from the call at [3]. Hopefully that should get you started, but please ask more questions if you get at all stuck.

Assignee: nobody → nicklebedev37
It's probably not worth doing this anymore. A better approach would be to implement bug 1101627 and bug 1101628 which will provide touch-action support in APZ across all platforms without requiring backend-specific work. That's probably about the same (or less) work than doing this, and this is much more subject to rotting as we continue to progress with bug 920036 and bug 930939.
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.