Closed Bug 1885542 Opened 7 months ago Closed 5 months ago

"WheelScrollAction.performOneWheelScroll" doesn't update key input state

Categories

(Remote Protocol :: WebDriver BiDi, defect, P2)

defect
Points:
3

Tracking

(firefox127 fixed)

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: whimboo, Assigned: Sasha)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m11], [wptsync upstream][webdriver:relnote])

Attachments

(2 files)

Originally filed as: https://github.com/puppeteer/puppeteer/issues/12093

As described we are not correctly updating the wheel action with the global key state and as such a previously set modifier key is not included when synthesizing the wheel scroll event through EventUtils:

https://searchfox.org/mozilla-central/rev/288d6e88a58467357a282a67108d36ccb0315a2a/remote/shared/webdriver/Actions.sys.mjs#1337-1365

First we need to forward the state from WheelScrollAction.dispatch to WheelScrollAction.performOneWheelScroll, and there the event data needs to be updated with the global key state as done here for multitouch event:

https://searchfox.org/mozilla-central/rev/288d6e88a58467357a282a67108d36ccb0315a2a/remote/shared/webdriver/Actions.sys.mjs#2291-2301

Points: --- → 3
Priority: -- → P2
Whiteboard: [webdriver:m11]

The severity field is not set for this bug.
:whimboo, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(hskupin)
Severity: -- → S3
Flags: needinfo?(hskupin)
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/27bca281398d Set modifier properties based on whether any corresponding keys are pressed to wheel event. r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/483c12f06e38 [wdspec] Add tests for wheel event with control key pressed. r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46093 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m11] → [webdriver:m11], [wptsync upstream]
Upstream PR was closed without merging
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Upstream PR merged by moz-wptsync-bot
Whiteboard: [webdriver:m11], [wptsync upstream] → [webdriver:m11], [wptsync upstream][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: