-
Notifications
You must be signed in to change notification settings - Fork 190
Description
Description of the bug
I’ve migrated an app to Vaadin 25 and now the favicon is no longer generated correctly.
I see the blue with with circle default icon instead of my icon.
Security config is correct and the file is 512x512 and stored in /src/resources/META-INF/resources/icons/icon.png
According to @mcollovati this must be a bug:
During the frontend build, TaskGeneratePWAIcons correctly generates PWA icons based on the project PNG in META-INF/resources/icons/icon.png, but then they are overwritten by TaskPrepareProdBundle with the icons from the default prod bundle.
It is easily reproducible with the skeleton-starter-flow-spring project by just running a production build (mvn package). In dev mode I see the correct icon, but running the app from the production fat JAR, the default one is shown.
The same issue appears to be present also in 24.9.
I guess this does not happen when a custom bundle is required.
Expected behavior
The custom icon should be used
Minimal reproducible example
It is easily reproducible with the skeleton-starter-flow-spring project by just running a production build
Versions
- Vaadin / Flow version: 25 (but also 24.9)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status