Add telemetry so we can determine how many FF users have touchscreens, etc.
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
People
(Reporter: jbonisteel, Assigned: ktaeleman)
References
(Blocks 1 open bug)
Details
(Whiteboard: desktop-zoom-nightly)
Attachments
(2 files, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details |
(deleted),
text/plain
|
chutten
:
data-review+
|
Details |
Once we ship DTZ, it would be nice to do some before/after comparisons around how many people with touchscreens used FF before we shipped and then after. I think we'd need to add some telemetry to do so.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Is this something we could look at adding for 76? Not sure how hard it would be
Reporter | ||
Comment 2•5 years ago
|
||
NI-ing Jeff to see if he has ideas on how to do it
Comment 3•5 years ago
|
||
Botond, how do we know if someone has a touch screen?
Comment 4•5 years ago
|
||
TouchEvent::PlatformSupportsTouch()
seems promising.
Assignee | ||
Comment 5•5 years ago
|
||
Maybe worth listing what we would like to know:
- Touchscreen YES/NO
- Regular or High precision touchpad
- Wacom (and other) stylus tablets
@tnikkel: Am I missing anything?
Comment 6•5 years ago
|
||
Not saying that these should also be included but the other possibilities that I can think of:
-whether there is a mouse connected or not (to know if something is the primary means of interaction of if it's supplemented)
-mouse wheels can also be high resolution or not, but that change happened a long time ago (https://bugzilla.mozilla.org/show_bug.cgi?id=605648)
-pen input can be directly on a screen or on an input tablet
Comment 7•5 years ago
|
||
Looks like there is already telemetry for touchscreens
Comment 8•5 years ago
|
||
Yeah, as :tnikkel pointed out we already have a histogram for touch-enabled devices. If we want to add more telemetry for the other conditions brought up we can do that too. I'm not too familiar with the non-touchscreen input device detection in the widget code so I don't know who would be the best person to take this on.
Updated•5 years ago
|
Reporter | ||
Comment 9•5 years ago
|
||
Does that telemetry for touchscreens differentiate from desktop vs mobile? Just wondering what the definition of TOUCH_ENABLED_DEVICE is and if it can be that granular...
Comment 10•5 years ago
|
||
It's only enabled on windows, so it's inherently desktop-only. We can extend it to Linux desktop relatively easily. Mac desktop devices don't have touch anyway.
Assignee | ||
Comment 11•5 years ago
|
||
I'll look into this a bit and see what information we can get out of the Windows API's about the input devices.
Assignee | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Bug 1495938 has a list of win32 apis related to this.
Comment 13•5 years ago
|
||
In addition to what was mentioned before, we should also track a basic use counter that increases when the user uses DTZ. This allows us to track DAU/MAU for our health metrics.
I'm also working with UX to discuss the possibility to use DTZ via mouse. Depending on the outcome, we may add some temporary probes to compare interactions to "old-school" zooming and make more informed decisions.
Assignee | ||
Comment 14•5 years ago
|
||
Found some telemetry already present that indicates if the user has used the touch device:
So our current telemetry is:
Telemetry::TOUCH_ENABLED_DEVICE
Telemetry::FX_TOUCH_USED
With this we should already be able to figure out touchscreen usage.
Assignee | ||
Comment 15•5 years ago
|
||
Telemetry::FX_TOUCH_USED was set to expire in FF 46, we'll have to renew this before we get any data.
On Windows it looks like we have a population of ~8% of users with Touch enabled devices:
https://sql.telemetry.mozilla.org/queries/69783/source#175900 (Thanks @tdsmith for helping me out here!)
Assignee | ||
Comment 16•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 17•5 years ago
|
||
Comment 18•5 years ago
|
||
Assignee | ||
Comment 19•5 years ago
|
||
Comment 20•5 years ago
|
||
Comment 21•5 years ago
|
||
Comment 22•5 years ago
|
||
bugherder |
Assignee | ||
Comment 23•5 years ago
|
||
Comment on attachment 9138572 [details]
Bug 1626099 - Renewing FX_TOUCH_USED telemetry.
Beta/Release Uplift Approval Request
- User impact if declined: None
- Is this code covered by automated tests?: Unknown
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The patch renews/modernizes an existing telemetry point that was expired.
- String changes made/needed:
Comment 24•5 years ago
|
||
Comment on attachment 9138572 [details]
Bug 1626099 - Renewing FX_TOUCH_USED telemetry.
Updates some existing Telemetry probes. Approved for 76.0b5.
Comment 25•5 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Description
•