ETO.Webview window getting lost on MacOS with 3 monitors

Hi Guys,

I have had this bug reported by a customer interested in using KaroroCAM:

With regards to the issues I mentioned:

I am running Rhino 8 (latest version) on a 6 core Mac Pro with mac os Monterey (12.7.3). Graphics card is AMD RX580. There are 3 screens attached to the card but I have yet to find a pattern as to what triggers the KaroroCAM disappearance other than possibly something to do with having Rhino8 full screen on one of the monitors.
I have found out that when the window disappears, I can get it back by selecting it and moving it to a different screen using the Window menu in Rhino. So, at least there is a workaround for it.

Also, I think the KaroroCAM panel is supposed to stay on top of the Rhino window but it appears that after I get it back post disappearance it no longer maintains its always on top status.

Could this be related to issues others have seen with MacOS and panels on machines with 2 or more monitors:

I only have a older Mac Mini with a single monitor so can’t really test this issue - however as the KaroroCAM UI panel is just a ETO form with an embbed WebView2 browser I don’t think there is anything I can do from my side to fix this?

Cheers

DK

1 Like

Hi @kiteboardshaper,

Is your window a modeless form or a panel?

– Dale

Modeless form thanks Dale.

Hi @kiteboardshaper,

Declare your modeless form like this:

  /// <summary>
  /// My modeless form
  /// </summary>
#if RUNNING_ON_WINDOWS // <- your own preprocessor definition...
  internal class MyModelessForm : Form
#else
  internal class MyModelessForm : FloatingForm
#endif

Any better?

– Dale

Hi @kiteboardshaper,

Here is a Python sample.

test_modeless_form.py (2.6 KB)

– Dale