You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gallery editor: the Edit tab keeps "Edit: <name>" after the edit is closed #7428
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
Start the app, open Gallery, Edit tab, click the Square HD template. The tab reads Edit: 1024×1024.
Hover the Edit tab, click its x, confirm "Close".
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