-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix 'effectiveAppearance' crash on pre-Mojave #13314
Conversation
@hartez Could this change be back ported to 4.8 too, as it's been happening since at least 4.7? |
@CartBlanche are you using 4.8 on a High Sierra? @hartez I think this might be better on 4.7 or something that are built using older Xcode . |
@rmarinho I have 2 projects. One uses 4.8 and the other (due to better MacOS support) uses 5.x. Hence why I've asked for it on both. I cannot currently update my 4.8 project to 5.x, because MasterDetail has been deprecated and is broken in 5.x, for me. Also Flyouts don't work correctly and consistently across all platforms in 5.x either, so I can't switch to using that either. At least from my testing a week ago. I'm also 1 week away from releasing the 4.8 project on the app stores. |
@hartez Based on this other customer's experience, that's where he experienced the 1st fail. In 4.7.x. See here |
@CartBlanche I can't find any trace of the use of EffectiveAppearance API's before 5.0 versions, which makes sense as @hartez noted that the code wasn't PR'd until #10646 which was in 5.0 releases. The issue you linked to #13071 has the repro which also references a 5.0 prerelease of forms, hence the error. This particular fix isn't going to be backported because it doesn't apply to 4.8. There may be another issue going on causing a crash in 4.8? It's not clear though as the repro all focuses around 5.0. I think @rmarinho may have been able to track down an install of high sierra to test a file->new project in 4.8, will follow up later with him. |
Description of Change
Moves use of NSApplication EffectiveAppearance property inside of Mojave or later check.
Issues Resolved
API Changes
None
Platforms Affected
Behavioral/Visual Changes
None
Before/After Screenshots
Not applicable
Testing Procedure
Run this on High Sierra, see if it crashes. (It shouldn't.)
PR Checklist