HadoukenIO / core

Hadouken is an open-source platform for creating web applications with native desktop experience. Hadouken is the base project used to build OpenFin OS, a desktop operating layer used by 45+ major banks, buy-side and vendors to deploy hundreds of apps to over 400 financial firms.
http://hadouken.io/
Other
103 stars 50 forks source link

Bugfix - Call removeBrowserView on oldWin so that we can attach BrowserViews back and forth #970

Closed MichaelMCoates closed 5 years ago

MichaelMCoates commented 5 years ago

Description of Change

Fixes a bug that prevents a BrowserView from attaching back to the window it was originally attached to.

Bug Repro:

  1. Create a BrowserView on Window A.
  2. Attach the BV to Window B.
  3. Attempt to attach the BV back to Window A. Expected: BV Shows up on Window A. Actual: BV stays on Window B.

To fix, we simply call removeBrowserView with the old window.

Checklist

Release Notes

Notes:

openfin-github-bot[bot] commented 5 years ago

dad88d5

Git

pbaize commented 5 years ago

Let's also move the target check above this section

MichaelMCoates commented 5 years ago

Let's also move the target check above this section

Yep, that's in a separate PR.