Open Bug 2090979 Opened 5 days ago Updated 5 days ago

[customizable menu] Inform the user when a Tools menu item cannot be moved where it was dropped

Categories

(Firefox for Android :: Menu, task)

All
Android
task

Tracking

()

People

(Reporter: petru, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][android-core])

Some moves in the "Edit menu items" screen are not allowed. The drop should be rejected and a snackbar should explain why:

  • "Extensions" cannot be moved into "More": "Extensions can't be in more".
  • The last visible item of the section cannot be hidden: "Section can't be empty".

Where an item can be placed is described by a new MenuItemAffinity on each menu item: none means it can be anywhere in its section, GROUP means it can only be directly in the section, never inside "More". "Extensions" gets GROUP.

A saved customization that has an item somewhere its affinity does not allow is repaired when read, by moving the item back to the top level.

Figma

You need to log in before you can comment on or make changes to this bug.