question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Always request desktop website" feature no longer works on numerous websites.

See original GitHub issue

Description

A lot of sites serve mobile version, while Desktop mode is enabled globally for all sites ( Settings -> Site settings -> Desktop Mode). For sites which load mobile version Desktop mode checkbox is active (three vertical dots in lower right corner -> desktop mode) meaning Desktop veersion should be served, but that`s not happening.

Affected websites include, but not limited to 4pda.ru ; rbc.ru ; android.stackexchange.com (SE subdomains not the original site)

Hiding Brave to background and reopening works as one-time remedy for the page. Also switching Desktop mode via page checkbox (three vertical dots in lower right corner -> desktop mode) off and on makes correct version to be served (desktop version).

Steps to reproduce

  1. Enable serve Desktop globally for all sites ( Settings -> Site settings -> Desktop Mode)
  2. Create new empty tab
  3. Type one of the affected websites URL (4pda.ru for example)
  4. Mobile version is served initially

Actual result

Before temporal remedy (minimizing\maximizing Brave or reloading Desktop mode) before reopening 1 before reopening 2

After temporal remedy (minimizing\maximizing Brave or reloading Desktop mode) after reopening 1 after reopening 2

Expected result

Site should be opened in desktop mode right away without need for additonal actions.

Issue reproduces how often

Issue reproduced every time for affected websites

Issue happens on

Google Play latest version

Device details

Testes on two ARM phones: Android 8.0.0 Lg v30+ Android 9 Oneplus 7 Pro

Brave version

Latest Brave 1.2.0 Chromium 76.0.3809.111 (but the bug has beed around for a while)

Website problems only

Issue persists with shileds turned off. Chrome lacks always desktop mode feature.

Additional info:

Related bug: https://github.com/brave/browser-android-tabs/issues/740 This bug is related, but different in a sense that issue 740 depicts case when sites dont open Desktop version at all and my ticket raises situation when Brave is capable of opening Desktop verson and does so but only after additional external input.

Related ticket: https://github.com/brave/browser-android-tabs/issues/124

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kirilloffscommented, Feb 27, 2020

@deeppandya, seems the reason for this bug is simple: sites detect screen resolution (discover that screen proportion is mobile phone proportion) and forcefully serve mobile version despite desktop user agent preset active.

So the fix should be rather simple - while sending fake desktop user agent, also to send fakescreen resolution info to correspond to that of a desktop screen proportions.

@SergeyZhukovsky @srirambv @LaurenWags @anthonypkeane may be it worth reopening ticket https://github.com/brave/browser-android-tabs/issues/124 as it in fact https://github.com/brave/browser-android-tabs/issues/124 no longer passes QA checks 3 and 5 stated in that ?

0reactions
samartnikcommented, Apr 21, 2022

This has been fixed in the context of https://github.com/brave/brave-browser/issues/20963

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Always request desktop website" feature no longer works on ...
"Always request desktop website" feature no longer works on numerous websites · Enable serve Desktop globally for all sites ( Settings -> Site ......
Read more >
6 Best Ways to Fix Chrome's Request Desktop Site Not ...
1. Reload Website ... I know it sounds a bit pedantic, but you should try it again in a new browser tab. If...
Read more >
Why does request desktop site not work properly on iOS?
The main problem is that if you're on a mobile address (I.e. m.wikipedia.com ) it won't change it, so you request desktop version...
Read more >
How to Force Safari to Load Desktop Sites on iPhone | OSXDaily
This will take you to Safari preferences. Here, scroll down and choose “Request Desktop Website” located under the Settings for Websites ...
Read more >
How to automatically request a desktop version of a website ...
The answer is to tell the site to quit telling you what it thinks you want, and instead just show you the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found