Firefox thinks some large phones are tablets and is requesting desktop sites
Categories
(GeckoView :: General, defect)
Tracking
(firefox130 unaffected, firefox131 unaffected, firefox132 disabled)
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | unaffected |
| firefox131 | --- | unaffected |
| firefox132 | --- | disabled |
People
(Reporter: cpeterson, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [fxdroid] [group4])
GeckoView's HardwareUtils checks for "large" and "small" tablets. If large phones are detected as "small tablets", maybe we should only default to the desktop UA string on large tablets.
Some phones that are showing desktop sites:
- the Nokia x20 according to this Reddit comment: https://www.gsmarena.com/nokia_x20-10838.php
- the Sony Xperia 1 IV according bug 1790516 comment 20: https://www.gsmarena.com/sony_xperia_1_iv-11521.php
Updated•1 year ago
|
Comment 1•1 year ago
|
||
If you can surface something in about:support ?
Comment 2•1 year ago
|
||
:calu, since you are the author of the regressor, bug 1790516, could you take a look?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Comment 3•1 year ago
|
||
My Pixel 8 also displayed desktop sites after a fresh install of Nightly. I "fixed" it by synchronizing it with my old phone.
Comment 4•1 year ago
|
||
Thanks Thomas for the device info!
Do you have any system display settings such as font or display size set? You can check that by connecting your device and in a command line, running adb shell wm density.
Comment 5•1 year ago
|
||
Tried both of my devices, both running on:
132.0a1 (Build #2016043623), hg-ebf0e33ba93e+
GV: 132.0a1-20240910090327
AS: 132.20240907050348
Reproduced: Google Pixel 8 Pro
Physical density: 360
Override density: 306
Can NOT Reproduce: Xiaomi Poco X3 Pro
Physical density: 440
Override density: 396
Comment 6•1 year ago
|
||
User with a Pixel 9P XL reporting desktop sites served similarly here. https://www.reddit.com/r/firefox/comments/1fdnihk/firefox_nightly_on_android_pulling_up_desktop/
Updated•1 year ago
|
Comment 7•1 year ago
|
||
(In reply to Cathy Lu [:calu] from comment #4)
Thanks Thomas for the device info!
Do you have any system display settings such as font or display size set? You can check that by connecting your device and in a command line, runningadb shell wm density.
Could we surface all the kind of relevant infos in about:support to make it easier for diagnosis? When I first got the issue on my Xperia 1 V, my first check was this and nothing was surfaced so I assumed fastmail regressed rather than us
Comment 8•1 year ago
|
||
That's a good idea, I would recommend filing a separate bug for adding that information to about:support.
Comment 9•1 year ago
|
||
(In reply to Cathy Lu [:calu] from comment #4)
Thanks Thomas for the device info!
Do you have any system display settings such as font or display size set? You can check that by connecting your device and in a command line, runningadb shell wm density.
Sony Xperia 1 V reports:
$ adb shell wm density
Physical density: 420
Override density: 356
Comment 10•1 year ago
|
||
Android member reported desktop mode on Pixel 9 Pro Fold as well: "I am seeing that google searches use the large screen version while folded, which makes the text too small to read. in some cases, the sidebar of the search is even empty which looks problematic. "
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 11•1 year ago
|
||
We're closing this as new changes have landed. Please open if you see other issues.
Description
•