Closed Bug 1795116 Opened 2 years ago Closed 2 years ago

Support specifying tiltX/tiltY/twist on synthesized touch event

Categories

(Core :: DOM: Events, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

Details

Attachments

(1 file)

Now we don't support synthesizing touch event with specified tiltX, tiltY and twist value. It should not hard to support that, we just need to add a way to pass those value to https://searchfox.org/mozilla-central/rev/76ccfc801e6b736c844cde3fddeab7a748fc8515/dom/base/nsDOMWindowUtils.cpp#908-909.

Blocks: 1793832

Hi Edgar, thank you for filing this bug. Do you think that this new feature could be implemented in the next weeks or months? If you or someone else doesn't have the time maybe we could find someone else or mentor the bug? We would be kinda interested in. Thanks!

Flags: needinfo?(echen)
Assignee: nobody → echen
Status: NEW → ASSIGNED

Hi Henrik, could you help to try whether this patch works for geckodrvier? Thanks!

Flags: needinfo?(echen) → needinfo?(hskupin)

(In reply to Edgar Chen [:edgar] from comment #4)

Hi Henrik, could you help to try whether this patch works for geckodrvier? Thanks!

Absolutely! I've triggered some opt builds via the try build on Phabricator and will run some tests tomorrow:
https://treeherder.mozilla.org/jobs?repo=try&revision=2e404414bf238804cf69e1a121cd433b1e0e4877&searchStr=build%2Copt

Thanks a lot for working on it Edgar!!

I have asked James to also have a look given that he implemented the related code in Marionette. He replied on the Phabricator revision.

Flags: needinfo?(hskupin)
Attachment #9301428 - Attachment description: WIP: Bug 1795116 - Support specifying tiltX/tiltY/twist on synthesized touch event; r?smaug → Bug 1795116 - Support specifying tiltX/tiltY/twist on synthesized touch event; r?smaug
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d00302ab3940
Support specifying tiltX/tiltY/twist on synthesized touch event; r=webdriver-reviewers,smaug,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Duplicate of this bug: 1793832
No longer duplicate of this bug: 1793832
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: