Problem does not happen (GUI directly visible) for either:
Not sure if this is something related to my Mac ARM/Tahoe setup, perhaps others can confirm above works Ok for them ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks Henk, unfortunately reproduced when launching a plain minimal.app built with Xcode 26.2 with Cmd-O from the Finder under macOS 26.3 (a), not happening when launching from Xcode
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Does this also happen if there's a complete .app package with PkgInfo and Info.plist?
Does this also happen if you codesign the binary?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Note: the issue comes from the fact that the event loop [NSApp run] started in wxApp::CallOnInit does not get stopped when [NSapp stop:nil] gets called from applicationDidFinishLaunching, so I'll try adding another event there to keep the loop running and being able to process stop
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@HenkDemper could you please test whether modifying utils.mm applicationDidFinishLaunching
by adding
NSEvent *event = [NSEvent otherEventWithType:NSApplicationDefined
location:NSMakePoint(0.0, 0.0)
modifierFlags:0
timestamp:0
windowNumber:0
context:nil
subtype:0 data1:0 data2:0];
[NSApp postEvent:event atStart:FALSE];
before the [NSApp stop:nil]; solves your problem ? Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@torstenvl : Does this also happen if there's a complete .app package with PkgInfo and Info.plist?
Also happens when PkgInfo and Info.plist are present (like in own .app and sample .apps build with make
(CMake sample builds seem are missing PkgInfo though...)
@torstenvl: Does this also happen if you codesign the binary?
All tested apps were not code-signed... but see below
@csomor: could you please test whether modifying
utils.mmapplicationDidFinishLaunching...
Added the fragment, rebuild libs & indeed this solves the problem. Now the UI appears directly when you launch the application even if you don't move the mouse or press a key 👍🏻 I think a good improvement for wxWidgets macOS apps in general. Thanks !
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()