Open Bug 1754997 Opened 3 years ago Updated 3 years ago

The latest updated broke "Pen as mouse input"

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

Firefox 97
Desktop
Windows
defect

Tracking

()

UNCONFIRMED

People

(Reporter: michele, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

Use a pen to navigate Firefox, with "Pen as Mouse Input" setting in Windows.

Actual results:

The pan/drag function Windows Ink forced on us. Now it works just like Edge.
Double-tap doesn't select a word, triple tap doesn't select a line. Sometimes you can get the blue selector tabs

Expected results:

actually use the pen just like a mouse in Firefox, swipe to select text, double tap selects a word, triple tap selects a line.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core

My vague recollection is that smaug might have the hardware to repro. (I don't.)

Flags: needinfo?(bugs)
Flags: needinfo?(bugs) → needinfo?(krosylight)

(IIRC Kagami you were triaging some similar bugs recently)

Disabling dom.w3c_pointer_events.scroll_by_pen.enabled will restore the previous behavior. I'll file an issue to make it an official configuration.

I wonder there's an API to detect the pen-as-mouse-input system settings, btw.

Flags: needinfo?(krosylight)

Thanks for the workaround, that has the pen functioning as expected by me at least.

saschanaz: Could you set the priority?

Severity: -- → S3
OS: Unspecified → Windows
Hardware: Unspecified → Desktop

Where can I find the dom.w3c_pointer_events.scroll_by_pen.enabled? I tried searching my PC for it but it didn't turn up.

about:config in the firefox browser

(In reply to michele from comment #8)

about:config in the firefox browser

Thanks, I tired it and it didn't fix it. But at lest it's a start.

You need to log in before you can comment on or make changes to this bug.