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
When opening a stage, especially via the WebAPI.openStageAsTab method, the browser tab should display the stage's title and icon as favicon, ensuring a consistent and recognizable branding for the application.
Actual Behavior:
Currently, the tab displays as title the following string JPro Application: ?instanceID=1234567890, where the instanceID is automatically generated by JPro depending on the different configuration options and the default JPro favicon is used as favicon. The following is an example application opening 3 tabs:
Expected Behavior:
The newly created tab should display the stage’s title as the tab title and the favicon should be the first icon from the stage’s getIcons list. These should match the value of the title property and the first icon in the getIcons list, respectively.
Environment:
JavaFX version: 17+
JPro version: 2024.3.3 and any previous version
Browser: Any browser
Operating System: Any supported platform (Linux, Windows, macOS)
The text was updated successfully, but these errors were encountered:
This feature is now available on JPro version 2024.4.0.
The browser tab now accurately reflects the JavaFX stage's title and favicon. The tab title is set based on the stage's title property, and the favicon is sourced from the first icon in the stage's getIcons list. To enable this feature, use the syncStageAttributes attribute in the jpro-app tag.
For example, just add this line to your index.html file on your project:
Feature description:
When opening a stage, especially via the WebAPI.openStageAsTab method, the browser tab should display the stage's title and icon as favicon, ensuring a consistent and recognizable branding for the application.
Actual Behavior:
Currently, the tab displays as title the following string
JPro Application: ?instanceID=1234567890
, where theinstanceID
is automatically generated by JPro depending on the different configuration options and the default JPro favicon is used as favicon. The following is an example application opening 3 tabs:Expected Behavior:
The newly created tab should display the stage’s title as the tab title and the favicon should be the first icon from the stage’s
getIcons
list. These should match the value of thetitle
property and the first icon in thegetIcons
list, respectively.Environment:
2024.3.3
and any previous versionThe text was updated successfully, but these errors were encountered: