1

I recently wiped my phone and reinstalled the same custom, rooted, stock ROM.

Since then, when I rotate the phone, Chrome rotates the display (as expected) but then refreshes the page. The loading bar goes across, a YouTube video will stop playing, and depending on the page the scroll position is lost.

Before, the display would simply rotate in place without issue.

I have never seen this behavior before and I cannot find any relevant setting to change it, including in chrome://flags.

What is causing Chrome to refresh when I change the screen orientation?

1
  • Try clearing data of chrome (settings>apps>chrome>storage>manage storage>clear data)
    – aBochur
    Commented Jan 2, 2018 at 3:29

1 Answer 1

1

I disabled the DPI override for Chrome in the App Settings app for Xposed, and the problem went away.

Now I'll search for a different way to adjust Chrome's DPI.

Notes:

  • This issue did not occur in Chrome 52, the stock version for this ROM
  • Clearing Chrome app data did not fix the issue

In the end, I set the DPI for the entire phone to match the desired DPI for Chrome, via the ro.sf.lcd_density setting in the file build.prop. I then changed the DPI of other apps as necessary with Xposed: App Settings.

3
  • Have you found a workaround for this? It breaks my flow while browsing but at the same time, I need the upscaled Chrome UI
    – user400424
    Commented Jan 31, 2018 at 13:40
  • I did. See edited answer
    – Steven
    Commented Feb 1, 2018 at 4:14
  • Wow that's kind of a scorched earth approach I feel. I may have to weigh down the importance of things before committing to something like that as I have a shitton of apps that I don't need to change the scaling for
    – user400424
    Commented Feb 3, 2018 at 2:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .