Skip to content

Keep the delete-album dialog stable while closing #174

Description

@flamboh

problem

After confirming album deletion, the dialog copy changes during its closing animation. A title such as delete Blue Train? briefly flashes to the generic delete album? before the dialog disappears.

The dialog is deriving its visible copy from the album while that album is being removed from the library, so the exit state loses the album title and track count.

reproduction

  1. Create or import an album with a recognizable title.
  2. Open the album actions menu and choose delete album.
  3. Confirm the deletion.
  4. Watch the dialog during its closing animation.

expected behavior

The title, description, and button copy shown when the dialog opens remain stable until the dialog has fully closed. Deleting the album should still happen once, and focus should return to the invoking control when it still exists.

acceptance criteria

  • Confirming deletion does not flash generic album copy during the exit animation.
  • The opened album title and track count remain frozen for the dialog's full visible lifetime.
  • Cancel, escape, and outside-close behavior remain stable.
  • Album deletion still removes the intended album and tracks exactly once.
  • Focus restoration remains correct when the original action button is still connected.
  • A focused regression test covers the close transition.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions