Changes between Initial Version and Version 33 of Ticket #2427


Ignore:
Timestamp:
Jun 5, 2020, 11:40:31 AM (4 years ago)
Author:
wraitii
Comment:

This appears to be exactly the issue I'm running into when setting OSXIsGUIApplication to true. The reason why I'd want this is that it fixes startup in non-bundled mode, i.e. -editor mode.

From what I can tell they're using similar-but-different hacks for moving the app into the foreground. SDL uses a workaround: https://bugzilla.libsdl.org/show_bug.cgi?id=3051 (found also here ). WxWidgets appears to use another one...

That being said, I think the issue is that since we created an SDLApplication subclass of NSApplication, sharedApplication returns that (and not wxwidget's WXNsApplication), which breaks because apparently objective C can do fancy pointer checking. It seems to be fundamentally broken on some level however, because we're subclassing in two different ways that are fundamentally incompatible. I suspect the 'double-write' issue comes from there too, as we are probably getting the SDL hook instead of the wxwidgets one.

See doc: https://developer.apple.com/documentation/appkit/nsapplication?language=objc

I must say I don't really see an easier fix than properly restarting atlas...

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2427

    • Property Component Core engineAtlas editor
    • Property Summary AtlasUI does not open on on commandline Mavericks 10.9[PATCH] AtlasUI does not open on on commandline Mavericks 10.9
    • Property Priority Should HaveMust Have
    • Property Owner set to trompetin17
    • Property Milestone Alpha 16Alpha 24
    • Property Keywords patch added