Skip to content

[Android] Gallery layout breaks on foldable phones #7594

@mxsrm

Description

@mxsrm

Description

Gallery layout breaks when switching between folded and unfolded modes on Pixel 10 Pro Fold

Describe the bug

When switching between folded (outer display) and unfolded (inner display) modes on a Google Pixel 10 Pro Fold, the gallery layout does not correctly adapt to the new screen dimensions.

Steps to reproduce

  1. Open the Ente Photos app on the Pixel 10 Pro Fold.
  2. Navigate to the gallery (photos grid) view.
  3. Switch between folded and unfolded modes.

Expected behavior

The gallery view should smoothly re-render to fit the new screen width and column layout, maintaining proper spacing and image placement across both display modes. Ideally, it should have separate settings for both modes as to use the space of the bigger inner display beter.

Actual behavior

  • When switching from unfolded to folded, some photo columns are cut off and images are missing.
  • When switching from folded to unfolded, all columns are grouped to the left, leaving a large unused blank area on the right side of the inner display.

Device details

  • Device: Google Pixel 10 Pro Fold
  • OS: Android 16 (latest release)
  • App version: 1.2.11 (Google Play)

Screenshots (folded -> unfolded)

Image Image

Screenshots (unfolded -> folded)

Image Image

Version

1.2.11 (Google Play)

What product are you using?

Ente Photos

What platform are you using?

Mobile - Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions