Open ms14981 opened 4 years ago
This MCVE should demonstrate the issue with getWebWindow: https://github.com/ms14981/reproduce-openfin-getWebWindow-bug
Latest response from OpenFin:
A fix for this has been merged into canary (15.80.50.21). Will let you know when a stable build is released with this fix.
Response from OpenFin on June 1st:
This should be fixed on the last two stable versions 15.80.50.34 and 16.83.50.9
The cause seems to be that
getWebWindow
method on the OpenFin API Window sometimes returns undefined.To test in the demo app, launch it with
openfin -v 14.78.47.23 --launch --config ./public/app.dev.json
instead ofnpm run launch
. Go touseNotification
then clicklaunch
.Links:
Todo: Find a workaround (might be able to use the old v1 methods in
fin.desktop
in v2 of the OpenFin JS API).