DesktopHTMLViewer in DesktopWindow long delay

i have 2 DesktopHTMLViewer in a Window
if i use .Show there is a 5 Seconds Delay until the Window get visible!?
there was no url given

Sounds like itā€™s waiting for a timeout. Have you tried setting the url to ā€œabout:blankā€ ?

i tried your advice but it does not help.

it seems it is the first initialisation of both htmlviewer itself.

if i press a button to show the window the log comes very delayed.

Pressed Event in Main Window
System.DebugLog CurrentMethodName ā† this output comes 5 seconds later after i clicked the button
WindowWetter.Show

Iā€™m assuming you are using WebKit?

Could you make an instance of the window earlier and just not show it, just to get it to initialize the browser components?

Could you make an instance of the window earlier and just not show it, just to get it to initialize the browser components?

that does not make any change in initialisation speed :frowning:

Iā€™m assuming you are using WebKit?

i am using 2024r4.1 seems there is no propertie to change it.

This test seems working ok here.

show_hide_html_test.zip (4.6 KB)

But Iā€™m just injecting a fast sample to render.
Maybe you are loading some more complex file content?

1 Like

i tested your project and change it how my projects looks and canā€™t reproduce my issue, thats odd.
i need spend more time later on this.

:stuck_out_tongue_winking_eye: