Skip to content

[Bug]: FAB buttons shrink/hide and open vertically instead of horizontally on Contributions screen in landscape mode after navigation #6755

@Shoaibkhalid65

Description

@Shoaibkhalid65

Summary

On the Contributions screen, the FAB menu (camera, gallery, custom gallery) correctly opens
horizontally in landscape mode on first visit. However, after navigating to another tab and
returning to Contributions in landscape mode, the FABs revert to opening vertically, with the
main FAB and sub FABs appearing shrunk or partially hidden. The same broken behaviour is also
observed in the Contributions tab of the Profile screen.

Steps to reproduce

  1. Open the app (Contributions tab is shown by default)
  2. Rotate the device to landscape mode
  3. Tap the FAB plus button — sub FABs (camera, gallery, custom gallery) open correctly horizontally
  4. Navigate to any other tab (Nearby, Explore, or Bookmarks)
  5. Return to the Contributions tab
  6. Tap the FAB plus button again

Expected behaviour

FABs should always open horizontally in landscape mode regardless of navigation history.

Actual behaviour

FABs open vertically after returning to the Contributions screen in landscape mode. The main FAB
and sub FABs appear shrunk or partially hidden instead of expanding horizontally.

Device name

Samsung a07

Android version

Android 16

Commons app version

6.3.0

Device logs

No response

Screenshots

fabs_broken_land_contributions.mp4

Would you like to work on the issue?

Yes

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions