Skip to content

Gallery editor: the Edit tab keeps "Edit: <name>" after the edit is closed #7428

Done

Description

@o3LL

Prerequisites

  • I searched open issues and discussions and did not find an existing report of this bug.
  • This is not a security vulnerability.
  • I am running the latest code from the dev branch and the bug still reproduces there.

Odysseus Revision

1a7fbc4f (2026-11-28)

Install Method

Manual Python install (pip / venv)

Operating System

Linux

Steps to Reproduce

  1. Start the app, open Gallery, Edit tab, click the Square HD template. The tab reads Edit: 1024×1024.
  2. Hover the Edit tab, click its x, confirm "Close".
  3. Look at the tab, then click it again.

Expected Behaviour

The tab goes back to Edit once the edit is closed.

Actual Behaviour

It still reads Edit: 1024×1024, also on the landing it shows after step 3. Same after a cancelled New canvas or any other close.

closeEditor() calls _setEditTabLabel(null) (static/js/galleryEditor.js:14157) before state.editorOpen = false (:14163). _setEditTabLabel() writes Edit and then re-renders the document tabs through window.geEditorDocTabs(), and that renderer (_renderEditorDocTabs, :12786) only checks state.editorOpen, which is still true. So it writes Edit: <name> straight back.

Logs / Screenshots

none needed, step 3 is the whole repro.

Are you willing to submit a fix? Yes, I can open a PR

Activity

  1. added
    ready for review
    on Nov 29, 2026
  2. removed
    ready for review
    on Dec 2, 2026
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