on Win10, trackpad scroll gesture doesn't work in "Source" editor window on v2.overleaf.com
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P2)
Tracking
()
People
(Reporter: sorcererofdm, Unassigned)
Details
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
| Reporter | ||
Comment 3•7 years ago
|
||
| Reporter | ||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
| Reporter | ||
Comment 8•7 years ago
|
||
"Rich Text" works somewhat, with smooth scrolling but rendering is a bit slow. But my problem is mostly with "Source." It looks like you confirm my report.
Updated•7 years ago
|
Comment 9•7 years ago
|
||
Hi :kats, I got impression that you know two-finger scrolling implementation. Could you please take a look at this and suggest next steps? Thank you.
Comment 10•7 years ago
|
||
Two-finger trackpad scrolling on Windows is usually turned into wheel events by the OS or driver. In Gecko we just handle it as wheel scrolling. That being said, from the STR, it sounds like it's not a problem with the widget-level events because the same gesture works on other pages.
Can you check if the bug happens with APZ off? (layers.async-pan-zoom.enabled to false, browser restart required). If so then it would be good to look at event handlers on the page and see if any of them are doing a preventDefault() on the wheel events. If it only happens with APZ on then it might be a bug in APZ hit-testing or event handling codepaths.
I probably won't have time to look at this myself this week and I'm off for two weeks after that but I can help you narrow it down at least.
Comment 11•7 years ago
|
||
As far as I know, this bug only occurs in the overleaf's "Source" tab, "Rich Text" works without a problem.
In fact, on my XPS 9350, not only the touchpad scroll gesture triggers this bug, but also the mouse. If you scroll your mouse slow, you will find scroll is working, but if you scroll it relatively fast, it will not move at all.
Moreover, this bug can reproduce both on clean-installed Windows 10 17134 and Windows Server 2016. Also, I have tested with APZ off(with a restart), this bug still exists. However, this bug does not exist in Linux and Mac.
Also, I have checked the JS code in the overleaf.com, but there is no suspect code, the CPU usage is normal when you scroll the page.
I have been troubled for a long time before I thought it was just my case.
So, anything I can do?
PS: I am a student from Peking University, China. I hope to join the Firefox development team! LOL
| Assignee | ||
Updated•7 years ago
|
Updated•3 years ago
|
Description
•