Skip to content

Incorrect Browser tab titles in Chromium based browsers #21171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gert-dubois opened this issue Mar 21, 2025 · 1 comment
Open

Incorrect Browser tab titles in Chromium based browsers #21171

gert-dubois opened this issue Mar 21, 2025 · 1 comment

Comments

@gert-dubois
Copy link

Description of the bug

There seems to a regression on the following issue #19868

Example uses Vaadin 24.7.0, when building a production JAR of the application when switching between the different views (empty and hello-world) and then using the browser history to navigate back and forward the title of the browser tab is out of sync as described in the related issue.

Bug is only present on Chromium based browsers, Firefox does not suffer from the issue.

Disabling the react integration by excluding the flow-react dependency from the project and setting the necessary configuration flags fixes the issue.

Image

Expected behavior

Tab titles should always display correctly, regardless of browser of how the page is navigated to.

Minimal reproducible example

Forked from the original example in the bug, updated to the latest version of Vaadin https://github.com/gert-dubois/vaadinHistoryBug

  1. Built a production jar using mvn clean install -Pproduction
  2. Run the vaadin-demo-1.0-SNAPSHOT.jar
  3. Navigate between the Empty and HelloWorld view in any Chromium based browsers
  4. Use the back and forward button to navigate
  5. Tab titles are broken

Versions

  • Vaadin / Flow version: 24.7.0 (issue also occurs in our own project on 24.6.6)
  • Java version: 21
  • OS version: Windows 11
  • Browser version: Chrome 134.0.6998.118, Edge 134.0.3124.72
@mshabarov
Copy link
Contributor

This looks like an incomplete patch rather than a regression, because the observation is similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔖 Normal Priority (P2)
Status: 🪵Product backlog
Development

No branches or pull requests

2 participants