Skip to content

App restarts, and looks broken for a bit, on system display-size change #3575

@gnprice

Description

@gnprice

On #3075 we had the following:

  • Test we behave properly when the user changes their [Android] system "Display size" and/or "Font size" settings while the app is already open. See docs of a change in how the system handles this.

(The change was one that took effect when we bumped our targetSdkVersion to 26, from 22.)

Testing now with 25.8.122, on Android on a physical Pixel 2 XL:

  • I opened the app, and navigated around.
  • Switched to the system settings app, and went to Display > Advanced > Display size, and changed it from "Small" to "Larger".
  • Switched back to Zulip.
  • Things flickered around for a bit.
  • Then we showed the home screen, with unreads...
  • and then the unreads and the top icons disappeared, showing only the tabs at bottom and the rest blank.
  • Then several seconds later, the unreads and top icons re-appeared.

I repeated the experiment except s/Display size/Font size/, changing it from "Small" to "Largest". Exact same result.

This issue is a low priority, because I believe it's very infrequent for a user to change the display-size or font-size setting. It's important to correctly support the settings having any value; but I expect that users almost always leave the setting at some value that's good for them, and don't keep changing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions