Note: I am using “Developers” channel version 1.58 of Overwolf. I think 1.57 behaves a better when it comes to setDesktopOnly.
So the window I am using is NOT set in the manifest to be an in-game only window; meaning its a hybrid depending on wether the game is in focus.
When I am looking at that window while I am in game, and I call setDesktopOnly(true), the window dissapears in-game (which is correct), but it doesn’t show up in the desktop (which is incorrect).
Now in another instance, when I am looking at the window while it is not overlayed on top of the game (so when I am in the desktop), and I call setDesktopOnly(true), the window doesnt dissapear in the desktop (which is correct), and it no longer shows up in the game (which is also correct).
Steps to reproduce:
Open the HearthArena 2.0 OPK in Hearthstone.
Use Hearthstone windowed mode to better see the issue.
In the docking, click the “desktop”-icon in the top right menu.
This sets the docking to be desktop only. However, the window is now insivible despite all values showing like it should be visible.