Can anybody tell me where the text that shows up i...
# compose-web
m
Can anybody tell me where the text that shows up in the titlebar of a wasmJs app window is configured. For my app the text is “Java Forum Stuttgart App - JavaForumStuttgartApp”. That looks strange because of the duplication. The first part could be the name as configured in the web manifest file and the second part could be the internal project name. Is there any location where I could configure that to just show the first part?
a
what titlebar?
m
You are right. I just realize that this text only shows up in this way when I install the app as a PWA. You can try it yourself: https://jfspwa.java-forum-stuttgart.de/ You have to install it via Chrome in order to see what I mean.
Bildschirmfoto 2025-01-15 um 19.59.59.png
c
I’d say its a combination if the
name
in your https://jfspwa.java-forum-stuttgart.de/manifest.webmanifest
Copy code
"name": "Java Forum Stuttgart App"
and the
title
in the index.html
the
title
is also used as the title of your regular browser tab,
I guess you can get rid of it giving both the same value.
💯 1
🙏 1
at least other pwa’s I have installed have it like that and do not show duplicated titles.
m
I can’t believe it but you are right. If I just make these two the same, the duplicate vanishes. Thanks a lot.
😅 1