webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
739 stars 63 forks source link

outlook.live.com - Phone layout received on tablet #107331

Open softvision-oana-arbuzov opened 2 years ago

softvision-oana-arbuzov commented 2 years ago

URL: https://outlook.live.com/mail/0/

Browser / Version: Firefox Nightly 104.0a1 (🦎104.0a1-20220712093327) Operating System: Huawei MediaPad T5 (Android 8.0.0) - 1920 x 1200 pixels, 16:10 ratio (~224 ppi density) Tested Another Browser: Yes Chrome

Problem type: Something else Description: Phone layout received on tablet Steps to Reproduce:

  1. Navigate to https://outlook.live.com/mail/0/
  2. Observe the page layout.

Expected Behavior: Tablet layout (similar to desktop layout) is displayed/

Actual Behavior: Phone layout is displayed.

Notes:

  1. Screenshot attached.
  2. The issue is not reproducible on Chrome and Opera.

Watchers: @softvision-oana-arbuzov @softvision-raul-bucata @ClintNase

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

wisniewskit commented 2 years ago

Hmm. In the responsive design mode I do get different results when I use a Firefox mobile Tablet user-agent string (with the word "tablet" in it), rather than a phone one (with the word "mobile" in it). That implies that it should work, unless the wrong UA string is sent, or there is another check doing something strange.

~@softvision-oana-arbuzov can you check what the value of navigator.userAgent is on your device in the remote devtools console while you're visiting Outlook? Does it contain tablet or mobile?~

wisniewskit commented 2 years ago

Yeah, I'm guessing that's the problem, given that I just noticed https://github.com/mozilla-mobile/fenix/issues/1848

wisniewskit commented 2 years ago

I've since started a discussion with the Firefox Android team to see whether we can update the user-agent string being presented to websites on a tablet (and which one to use). I'm not sure how long that will take, but I'll try to get it figured out ASAP.