Fenix: [Feature request] Add-ons sub-menu overlay should not disappear after rotation

Created on 17 Jul 2020  Âˇ  4Comments  Âˇ  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Open a website and tap the ⋮ Main menu button
  2. Tap on Add-ons
  3. Rotate the device to landscape view

Expected behavior

The overlay should remain displayed

Actual behavior

The overlay disappears after rotating the device to landscape view

Device information

  • Android device: OnePlus A3 (Android 6.0.1)
  • Fenix version:
    • Nightly 200717 from 7/17
    •79 beta.8 from 7/17

Notes

► Video
20200717-122352

MainMenu WebExtensions S2 landscape ready feature request 🌟

Most helpful comment

@AndiAJ @eliserichards Hi. I don’t think Android is explicit about whether main menu should be dismissed or preserved during device rotation.

Google’s own apps aren’t consistent. Sometimes menus are dismissed, and sometimes they’re kept open.

I would recommend keeping all our menus open during rotation. This includes the Add-ons submenu.

When we rotate the device, let’s remember to keep the menu positioning, so they’re always consistent against the side of the screen where the menu icon is located. This means that the menu is default-positioned on the bottom-right hand corner on toolbar-bottom, top-right corner on toolbar-top, and will shift to the left corners if the user changes to an RTL language.

All 4 comments

Changing this to a feature request since this functionality is intentional in the current version.

Hi @eliserichards , As I recall, the main menu wasn't dismissed on rotation.

Made it float with a different STR:

  1. Open a website and tap the ⋮ Main menu button
  2. Rotate the device to landscape view
  3. Tap the Add-ons button
  4. Rotate the device to portrait mode

20200720-111050

Please review and share your thoughts ☺️

@brampitoyo for feedback

@AndiAJ @eliserichards Hi. I don’t think Android is explicit about whether main menu should be dismissed or preserved during device rotation.

Google’s own apps aren’t consistent. Sometimes menus are dismissed, and sometimes they’re kept open.

I would recommend keeping all our menus open during rotation. This includes the Add-ons submenu.

When we rotate the device, let’s remember to keep the menu positioning, so they’re always consistent against the side of the screen where the menu icon is located. This means that the menu is default-positioned on the bottom-right hand corner on toolbar-bottom, top-right corner on toolbar-top, and will shift to the left corners if the user changes to an RTL language.

Was this page helpful?
0 / 5 - 0 ratings