Skip to content
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

Hostname appearing in secondary windows for fraction of seconds #11

Open
vagoel opened this issue Mar 1, 2021 · 1 comment
Open

Hostname appearing in secondary windows for fraction of seconds #11

vagoel opened this issue Mar 1, 2021 · 1 comment
Labels
Medium Should be fixed in days

Comments

@vagoel
Copy link
Owner

vagoel commented Mar 1, 2021

"defaultWindowOptions": {
"waitForPageLoad": true,
"showBackgroundImages": true,
"contextMenu": true,
"saveWindowState": false,
"backgroundThrottling": true,
"minWidth": 500,
"minHeight": 500,
"frame": false,
"enableAppLogging": true,
"backgroundColor": "#161615",
"stylesheetUrl": "http://HOSTNAME.uk.dev.net:8088/defaultWindowOverrideStyles.css" // this is used to override styles
},

Content of defaultWindowOverrideStyles.css –

:root {
--body-font-color: inherit;
--tab-border-top-highlight-color: rgb(255, 152, 0);
--tab-border-top-color: rgb(255, 152, 0);
--focused-tab-border-top-color: rgb(255, 152, 0);
--focused-tab-border-top-highlight-color: rgb(255, 152, 0);
}

/* Remove watermark symbol from openfin when new window is loaded */
.wrapper_title {
visibility: hidden;
}

As suggested by team ,stylesheetUrl is used to override the style required to hide that watermark , however this script will be downloaded over HTTP , so there will always be latency in downloading-parsing and then applying this override by browser.Meanwhile the watermarks appear.

@vagoel vagoel added the Medium Should be fixed in days label Mar 1, 2021
@vagoel
Copy link
Owner Author

vagoel commented Mar 12, 2021

The pull request raised by Imran does not help , issue remains same -
Pull request - #13

Same Issue after change is applied -

child-windows-wrapper.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Medium Should be fixed in days
Projects
None yet
Development

No branches or pull requests

1 participant