Issue Description:
When calling bringToFront
with the grabFocus
option set to false
on a desktop window that is in a maximized state, the window will be restored to its non maximized size.
However, when grabFocus
is set to true
, the desktop window will be brought up in the correct maximized
or normal
state.
Can you reproduce it (exact steps to reproduce):
- Open a desktop window
- Maximize the window
- call
overwolf.windows.bringToFront
withgrabFocus
set tofalse
(can just do this in the dev console) - the desktop window will return to its non-maximized state
- maximize the window again
- call the
bringToFront
api withgrabFocus
set totrue
- the desktop window will stay maximized
Impact for my app: low
Do you currently have a workaround?
Can set grabFocus
to true, but that doesn’t seem to be the purpose of the grabFocus
parameter