Skip to content

DeckPicker closes the expanded add menu on recreation #22241

Description

@n1snt

Note

This issue was written with GPT-5.6.

From: david-allison#71

Part of #22206.

Problem

When DeckPicker is recreated while the expanded add menu is open, the menu state is not restored correctly.

DeckPicker saves whether the menu is open, but recreation only restores the flag. The add actions are hidden again when the options menu is created.

How to check

  1. Open the Deck Picker.
  2. Expand the add menu.
  3. Force Deck Picker to recreate.
  4. Check whether the add actions are still visible.
  5. Press Back and check that it closes the restored menu.

Use forced activity recreation for this check. Normal rotation may not recreate Deck Picker with its current configChanges setting.

Expected result

The expanded add menu, its visible actions, and its Back-button behavior are restored after recreation. A closed menu should remain closed.

Actual result

The expanded add menu closes and its add actions disappear after recreation.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions