Closed rmartin16 closed 3 months ago
It looks like displaying the form is a side effect of setting the MainForm of the ApplicationContext (see App.set_main_window()
).
This was historically required because the Winforms async proactor was bound to the main form; however, this hasn't been true since we merged #2112. I'm in the process of reworking main window handling as allowing background and session-based apps (#2651); I'll fix it there.
Describe the bug
On Windows, the
MainWindow
for an app is shown when it is instantiated instead of whenshow()
is called.Steps to reproduce
MRE:
Expected behavior
The window should be shown only after
show()
is called; at least, this is the behavior on Linux, so everything should at least be consistent.Screenshots
No response
Environment
0.4.5.dev159+g0d736a41c
Logs
No response
Additional context
No response