1561927 - Scrolling On A Chromebook Trackpad Just Selects Text
Maybe your like
| Accessibility Severity | --- |
| Performance Impact | --- |
| Webcompat Priority | --- |
| Webcompat Score | --- |
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | wontfix |
| firefox89 | --- | fixed |
| Tracking | Status | |
|---|---|---|
| relnote-firefox | --- | |
| firefox68 | wontfix | |
| firefox89 | fixed | |
| firefox148 | --- | --- |
| firefox149 | --- | --- |
| firefox150 | --- | --- |
| behind-pref | ||
| sec-bounty | ? | |
| sec-bounty-hof | ||
| in-qa-testsuite | ||
| in-testsuite | ||
| qe-verify |
| Bug 1561927 - Ignore weird motion event on Chrome OS. r=#geckoview-reviewers 4 years ago Makoto Kato [:m_kato] 48 bytes, text/x-phabricator-request | Details | Review |
| Tiger Oakes Reporter | |
Description• 6 years ago |
User Agent: Mozilla/5.0 (X11; CrOS x86_64 12105.68.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.88 Safari/537.36
Steps to reproduce:
On a Chromebook, try scrolling on the page using two fingers on a trackpad.
Actual results:
Text starts getting selected from wherever the cursor rests on the page.
Expected results:
The page should scroll.
(It still kind of works, because eventually you start selecting text outside the viewport and the page shifts for that. Selecting is the reverse of the scrolling direction, however.)
| Chris Peterson [:cpeterson] | |
Comment 1• 6 years ago |
Is the two finger scrolling gesture being reported as a scroll wheel event? Randall says scrolling with a mouse scroll wheel works correctly, so this problem is specifically related to the trackpad gesture.
OS: All → AndroidPriority: -- → P3| Randall Barker [:rbarker] | |
Comment 2• 6 years ago |
I've verified that a bluetooth mouse works as expected in Fenix Preview release. The scroll wheel scrolls the content. So maybe the two finger scroll is not being sent as an android scroll wheel event on chromebooks?
| Tiger Oakes Reporter | |
Comment 3• 6 years ago |
It looks like once one finger is on the trackpad, the second is only used for selection. Any movement with the second finger selects text in the corresponding direction.
| Randall Barker [:rbarker] | |
Comment 4• 6 years ago |
Also, looks like user agent is being spoofed which can change page behavior. Or this isn't geckoview.
| Tiger Oakes Reporter | |
Comment 5• 6 years ago |
I tested on https://developer.mozilla.org/en-US/docs/Web/API/Element/wheel_event#Scaling_an_element_via_the_wheel and couldn't get a wheel event to fire using the trackpad.
| Chris Peterson [:cpeterson] | |
Comment 6• 6 years ago |
Tiger originally filed this bug in the Fenix issue tracker: https://github.com/mozilla-mobile/fenix/issues/3708
status-firefox68: --- → affectedSee Also: → https://github.com/mozilla-mobile/fenix/issues/3708Summary: Scrolling on a trackpad just selects text → Scrolling on a Chromebook trackpad just selects text| Emily Toop (:fluffyemily) | |
Comment 7• 6 years ago |
Also, looks like user agent is being spoofed which can change page behavior. Or this isn't geckoview.
:rbarker are you saying that this isn't a GV issue, or that we need to investigate whether the user agent spoofing is changing the page behaviour? Is there more investigation we need to do here?
Flags: needinfo?(rbarker)| Randall Barker [:rbarker] | |
Comment 8• 6 years ago |
(In reply to Emily Toop (:fluffyemily) from comment #7)
Also, looks like user agent is being spoofed which can change page behavior. Or this isn't geckoview.
:rbarker are you saying that this isn't a GV issue, or that we need to investigate whether the user agent spoofing is changing the page behaviour? Is there more investigation we need to do here?
I'm saying based on the UA, either Gecko is UA spoofing or it is actually WebView and not GeckoView.
Flags: needinfo?(rbarker)| Chris Peterson [:cpeterson] | |
Comment 9• 6 years ago |
(In reply to Tiger Oakes from comment #0)
User Agent: Mozilla/5.0 (X11; CrOS x86_64 12105.68.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.88 Safari/537.36
(In reply to Randall Barker [:rbarker] from comment #4)
Also, looks like user agent is being spoofed which can change page behavior. Or this isn't geckoview.
I think Tiger's comment 0 lists a Chrome UA because he probably filed this bug using Chrome on his Chromebook. He said in the Fenix issue that he can reproduce this bug in Fenix, R-B, and Focus+GV. If he switches Focus from GV back to WebView, then the text selection works correctly.
| Randall Barker [:rbarker] | |
Comment 10• 6 years ago |
Then sounds like either the native android scroll wheel events are not being passed to GeckoView's PanZoomController or the chromebook isn't generating them. We use scroll wheel events in FxR to scroll content and do not have this problem.
| Chris Peterson [:cpeterson] | |
Comment 11• 6 years ago |
Do we need to detect two-finger drag events and then synthesize scroll events for Gecko APZ? Would that be the responsibility of GV or A-C?
| Chris Peterson [:cpeterson] | |
Updated• 6 years ago |
| kopp.dev | |
Comment 12• 5 years ago |
Also happening on ChromeOS Version 87.0.4280.142, 64bit, with Firefox 82.0.2 (64-bit) flatpacked.
| kopp.dev | |
Comment 13• 5 years ago |
Not happening on same ChromeOS without Linux emulation. 85.0.0-beta.7 (Build #2015786831), AC: 70.0.11, 3d692de26, GV: 85.0-20210110185809, AS: 67.2.0.
| Makoto Kato [:m_kato] Assignee | |
Comment 14• 4 years ago |
Chromebook fires invalid motion events that is no button state. See https://bugs.chromium.org/p/chromium/issues/detail?id=704051
See Also: → https://bugs.chromium.org/p/chromium/issues/detail?id=704051| Makoto Kato [:m_kato] Assignee | |
Comment 15• 4 years ago |
Android app on Chrome OS doesn't use scroll event on touch pad scroll. And this generate wired mouse event via it.
So we should add a workaround like Blink (https://crbug.com/704051).
| Phabricator Automation | |
Updated• 4 years ago |
| Pulsebot | |
Comment 16• 4 years ago |
| Bogdan Tara[:bogdan_tara | bogdant] | |
Comment 17• 4 years ago | |
| bugherder | |
https://hg.mozilla.org/mozilla-central/rev/d4b5e3c2ae1e
Status: UNCONFIRMED → RESOLVEDClosed: 4 years ago status-firefox89: --- → fixedResolution: --- → FIXEDTarget Milestone: --- → 89 Branch| Ryan VanderMeulen [:RyanVM] | |
Updated• 4 years ago |
| Kevin Brosnan [Ex-Mozilla] | |
Updated• 4 years ago |
Attachment
Hide DetailsGeneral
Creator: Makoto Kato [:m_kato] Created: Updated: Size:Description
File Name
Content Type
Raw Diff Splinter ReviewTag » How To Scroll On Chromebook
-
How To Scroll On A Chromebook - A Complete Guide - YouTube
-
How To Scroll On A Chromebook - YouTube
-
How To Scroll Down On A Chromebook 2022 [Solution] - Alvaro Trigo
-
Chromebook Academy / Frequently Asked Questions - Plano ISD
-
Change Scrolling Direction On Chromebook Touchpads & More Tips
-
Do You Know How To Scroll On Your Chromebook? Learn How To Get ...
-
Slow Scrolling In Google Chrome Browser - IBM
-
How To Change Touchpad Speed, Scrolling, And Tap To Click Settings
-
How Do I Scroll With A Mouse Middle Button On A Chromebook?
-
Essential Guide: This Is How You Right Click On A Chromebook
-
Enable Scroll Bar On A Chromebook - TreeRing Help Center
-
Customize Your Chromebook Touchpad Settings
-
How To Take A Scrolling Screenshot On Chrome And Chrome OS