Skip to content

Title picture dialog: after an upload the highlighted button is Replace picture, not Done #587

Closed

Description

@LeMyst

After a picture is uploaded in the editor's Picture dialog, the highlighted (accent) button is Replace picture. The upload is already saved at that point, so the natural next step is to leave the dialog — but the eye goes to the orange button, and pressing it just opens the file picker again.

Introduced with the dialog in 7468118 (#533): renderPicture() relabels the primary button from Choose picture to Replace picture once a picture exists, but it stays the primary action.

Current

State Buttons
No picture Close · Choose picture
Picture uploaded Remove · Close · Replace picture
Picture set by the image: metadata Close · Choose picture (disabled)

In the metadata case the only highlighted button is one that can't be pressed.

Proposed

State Buttons
No picture Close · Choose picture (unchanged)
Picture uploaded Remove ……… Replace picture · Done
Picture set by metadata Done
  • Once there is a picture, Done (closes the dialog) is the primary action. "Done" rather than "Close" tells the user the upload is already saved.
  • Replace picture becomes a plain button; clicking the preview still opens the picker too.
  • Remove moves to the far left, apart from the primary action, as destructive actions usually are (it keeps its confirmation step).
  • The primary action is always the last button, in tab order as on screen.

Activity

  1. added a commit that references this issue on Sep 30, 2026
    efea22d
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions