IDE freezes and app stays in memory

I have quite some problems using fnc controls, especially TTMSFNCMemo in my project.

I have a regular window into which I import an interface with a form via a DLL. I then dock this form (from the DLL) to a panel of the main window. This works perfectly with all kinds of components (DevExpress bars and grids, standard Delphi components, Raize components, etc.). Only when I have an FNC component on this form of the DLL does it initially work as intended. If I close the app, it seems to close, but the application is still in the Task Manager, and I have to close it there.

And with these FNC components, my IDE becomes very slow, sometimes freezes, and I can't click anywhere in the IDE.

I don't have these problems with anything else, not even with TAdvWebBrowser, for example. With all other components, my application closes completely without leaving any residue in the Task Manager.

Do You have any idea what I'm missing?
I'm using Delphi Pro 12.2 with the current version of FNC UI Pack.

Kind regards
Harald

I ran some more tests and was able to narrow down the problem further:

There seems to be a problem with the interaction between the TTMSFNCMemo and the TdxLayoutControl (DevExpress). If you set the memo onto the LayoutControl (even in a single, new form) and switch focus between the memo and the root LayoutGroup, the IDE freezes on the second or third switch between the two at the latest.

I'm still trying to reproduce this with a different parent component...

and: It's not a problem only of TTMSFNCMemo, the same freeze happens e.g. with TTMSFNCWebBrowser...

oh, and the same freeze with TAdvWebBrowser... (on a TdxLayoutControl)

The memo (and others similar) host a browser, the browser needs to have a valid parent window handle, which in FMX is the handle of the form and in VCL the handle of the control. Then the bounds are set to hold the position. Most likely there is something going wrong while using TdxLayoutControl related to the handle. Since we don't have DevExpress controls here we can't test this unfortunately. Can you test with TEdgeBrowser and see if the issue is similar?