restoreToFront() on ingame window not triggering when another in-game window is active
Issue Description:
When an in-game window is currently in focus, and another in-game window is also visible at the moment, calling overwolf.windows.bringToFront() on another in-game window does not work.
overwolf.windows.bringToFront only seems to work when a in-game window is not active
It seems in v0.158 dev channel the API overwolf.windows.bringToFront now works correctly. There is however still a problem.
When you bringToFront window A, but don’t interact with it, you will not be able to bring to front window B by clicking that window. Only after you clicked in Window A, you will be able to bring window B in front by clicking it.
In order to test this, open Hearthstone with the HearthArena 2.0 client OPK.
In the dock, click the settings button at the top right.
This puts the overlay in front; do not interact with it!
Now click anywhere in the dock, notice how its not brought to the front?
Now click anywhere in the settings window.
Click the dock again, notice how it now does work.
hey @heartharena ,
I tried reproducing this issue in-game, but the “desktop” window is native, so it can’t be shown in game (and on desktop there’s no such issue).
There is also an “overlay” window, the overlay window has exactly the same content as the “desktop” window but unlike the “desktop window” it is not a “native window” but an “in-game only window”.
In order to open it, the “Heartharena dock” should be visible inside Hearthstone. So only click the settings button AFTER you are in Hearthstone;
Note: also make sure the desktop is closed whenever you do this otherwise it will bring the desktop window to the front instead.
Can share the same experience as @heartharena here. Window is behind the game window, and is invisible on the task bar. Would help a lot to get this issue sorted out as we are working on a big overhaul on our app and would like to use this feature. What is the new feature you mention @eransharv ? What we are using is overwolf.windows.bringToFront(). Did you make a new feature?