n8n - ✅(Solved) Fix Window tab title when editing a workflow used to change to the name of the workflow, now it just says "Workflow Automation - n8n" [1 pull requests, 1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#29823Fetched 2026-05-06 06:35:06
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
commented ×1cross-referenced ×1labeled ×1mentioned ×1

Error Message

  • error: all

Fix Action

Fixed

PR fix notes

PR #29826: fix(editor): restore workflow name in window tab title (#29823)

Description (problem / solution / changelog)

Summary

Fixes #29823.

When a workflow was opened in the editor the browser tab title would revert to Workflow Automation - n8n instead of showing the workflow name. The regression was introduced in #25288, which moved the workflow initialization logic out of NodeView into WorkflowLayout.

After that refactor the order of operations on first load became:

  1. WorkflowLayout.onMounted -> initializeWorkflow() -> useWorkflowInitialization.openWorkflow(data) calls documentTitle.setDocumentTitle(data.name, 'IDLE').
  2. isLoading flips to false, <RouterView> renders NodeView.
  3. NodeView.onMounted runs documentTitle.reset(), which clobbers the title with the Workflow Automation - n8n fallback.

git blame traced the documentTitle.reset() call in NodeView.vue to PR #10999, where it ran before the in-component initialization. After the move to WorkflowLayout it now runs after that initialization and clears the value that was just set.

Fix

  • Drop the documentTitle.reset() call from NodeView.onMounted. The title is now owned by useWorkflowInitialization/WorkflowLayout.
  • Set the title from useWorkflowInitialization in the new-workflow and template-import flows so every entry into the editor produces a tab title that matches the workflow being edited (existing-workflow and debug paths already called setDocumentTitle).

Renames continue to update the title via WorkflowDetails.handleRename.

Test plan

  • Added useWorkflowInitialization.test.ts covering:
    • existing workflow load -> setDocumentTitle(name, 'IDLE') and reset not called
    • AI builder streaming -> setDocumentTitle(name, 'AI_BUILDING')
    • new workflow load -> setDocumentTitle(newName, 'IDLE')
  • pnpm test --run useDocumentTitle (13/13)
  • pnpm test --run WorkflowLayout (14/14)
  • pnpm test --run useWorkflowInitialization (3/3)
  • pnpm typecheck clean
  • pnpm lint clean on touched files

Repro before fix

  1. Open any saved workflow in the editor.
  2. Tab title shows Workflow Automation - n8n.

After fix

  1. Open a workflow named Foo bar.
  2. Tab title shows Foo bar - n8n.
  3. Renaming the workflow updates the tab title.
  4. Opening a new (unsaved) workflow shows the new workflow's auto-name.

Closes #29823.

Changed files

  • packages/frontend/editor-ui/src/app/composables/useWorkflowInitialization.test.ts (added, +205/-0)
  • packages/frontend/editor-ui/src/app/composables/useWorkflowInitialization.ts (modified, +2/-0)
  • packages/frontend/editor-ui/src/app/views/NodeView.vue (modified, +0/-2)
RAW_BUFFERClick to expand / collapse

Bug Description

When opening a workflow the window title used to change to the name of the workflow.

For example, if I had a workflow called "sign : process signature" then the title of the window tab would be "sign : process signature n8n"

Now, the window title is just "Workflow Automation - n8n"

<img width="925" height="468" alt="Image" src="https://github.com/user-attachments/assets/f2798889-8818-463b-a5c2-f8b59f569a6e" />

To Reproduce

  1. Open a workflow
  2. View the window tab title
  3. It should say "<workflow name> - n8n"
  4. Instead, it says "Workflow Automation - n8n"

Expected behavior

  1. Open a workflow
  2. View the window tab title
  3. It should say "<workflow name> - n8n"

Debug Info

Debug info

core

  • n8nVersion: 2.19.2
  • platform: docker (self-hosted)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)
  • consumerId: 8fdaf5d5-08b9-4c76-9259-bb94762bd301

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/147.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2026-05-05T18:57:05.064Z

Operating System

Docker 23.0.6 on Ubuntu 22.04

n8n Version

2.19.2

Node.js Version

v24.14.1

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

extent analysis

TL;DR

The window title not updating to the workflow name in n8n version 2.19.2 may be due to a regression or configuration issue.

Guidance

  • Verify that the workflow name is correctly set and retrieved in the application code.
  • Check the n8n documentation for any changes in window title configuration or workflow naming conventions in version 2.19.2.
  • Inspect the browser console for any JavaScript errors that may be preventing the window title from updating.
  • Compare the current behavior with previous versions of n8n to determine if this is a regression.

Notes

The provided information does not include specific code or configuration details, making it difficult to pinpoint the exact cause of the issue.

Recommendation

Apply workaround: Try downgrading to a previous version of n8n where the window title update was working as expected, to isolate if the issue is version-specific.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

  1. Open a workflow
  2. View the window tab title
  3. It should say "<workflow name> - n8n"

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - ✅(Solved) Fix Window tab title when editing a workflow used to change to the name of the workflow, now it just says "Workflow Automation - n8n" [1 pull requests, 1 comments, 2 participants]