Condiderable lag when drawing with a Wacom pen in a Windows 8 tablet
Categories
(Core :: Widget: Win32, defect, P3)
Tracking
()
People
(Reporter: ofirr.dev, Unassigned)
Details
(Whiteboard: tpi:+ [win:touch])
Attachments
(3 files)
Updated•13 years ago
|
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
| Reporter | ||
Comment 13•12 years ago
|
||
| Reporter | ||
Comment 14•12 years ago
|
||
| Reporter | ||
Comment 15•12 years ago
|
||
| Reporter | ||
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
Comment 18•11 years ago
|
||
| Reporter | ||
Comment 19•11 years ago
|
||
Comment 20•11 years ago
|
||
Comment 21•11 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Updated•3 years ago
|
Comment 22•1 year ago
|
||
Back here 8 years later, I'm having this issue, with an XP-Pen tablet on Windows 10, on Firefox 126.0.1. Works fine on Edge and chromium browsers
Im unsure if it's the same bug, but the pen doesn't draw within a certain radius of when i put the pen down, but as soon as i start drawing it works fine.
I've updated my drivers to the latest and nothing changed.
Updated•1 year ago
|
Comment 23•2 months ago
|
||
I also encountered this problem recently and have managed to investigate the root cause. With the current state of the codebase, it is not that the WM_POINTERUPDATE message is not handled, but rather there are two places within Firefox code that suppress dispatch of the pointermove events:
widget\windows\nsWindow.cpp–OnPenPointerEvents: Initial pen movements smaller thanSM_CXDRAGandSM_CYDRAGare suppressed to prevent resettingsLastMousePointandsLastClickCountthat are used for click tracking. However, when I inspect the remainder of the source file,sLastMousePointdoes not seem to be affected by this andsLastClickCounthas its own similar check to only reset when the movement is greater than the threshold.gfx\layers\apz\src\InputBlockState.cpp–UpdateSlopState: This function defines a "slop zone" that suppresses small touch movements. It ignores the presence of thetouch-actionCSS property.
I have attempted a patch that addresses those behaviors correspondingly as follows:
- Remove the small movement check when handling
WM_POINTERUPDATE. - Disable the slop zone if the
touch-actionvalue isnone.
If there are no major issues with this, I would like to get this issue assigned and submit my patch.
Updated•1 month ago
|
Comment 24•10 days ago
|
||
Sorry about the delay -- I was hoping I would have time to review and test the patch before the year was up, but I didn't.
Will try to get to it later this year. This is almost-certainly going to require a non-trivial amount of manual testing because everything involving WM_POINTERXXX events is very complicated and can have all kinds of weird knock-on effects -- Especially around JS APIs.
Description
•