More macOS 13 compatibility issues
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start with TextViewController, FindViewController, and SuggestionViewController, focusing on their loadView methods and the NSNib/NSViewController crash trace. Compare the macOS 13 workaround with commit 941f378 and investigate the ordering of styleTextView/ScrollView/MinimapView relative to FindViewController creation. Done means the editor launches without crashing and does not show a blank view on macOS 13.
Written by the indexing model from the issue text.
Description
Problem
On macOS 13, the editor crashes on launch, then shows a blank view after workaround.
Crash trace:
-[NSNib _initWithNibNamed:bundle:options:]
-[NSViewController _nibWithName:bundle:]
-[NSViewController loadView]
Workaround
The following changes make it work on macOS 13, but we don't fully understand why they're only needed on macOS 13:
-
Replace
super.loadView()withself.view = NSView()inTextViewController,FindViewController,SuggestionViewController -
Move
styleTextView/ScrollView/MinimapView()beforeFindViewControllercreation inTextViewController.loadView()
See: https://github.com/nekohasekai/CodeEditSourceEditor/commit/941f378
- Dominant language
- Swift
- Stars
- 720
- Forks
- 162
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeEditApp/CodeEditSourceEditor
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
CodeEditApp/CodeEditSourceEditor#377 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
CodeEditApp/CodeEditSourceEditor#376 · 1 comment ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
CodeEditApp/CodeEditSourceEditor#378 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
All issues in CodeEditApp/CodeEditSourceEditor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
manaflow-ai/cmux#13763 ·
-
type: feature request
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
googleapis/google-cloud-swift#1036 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
wultra/mtoken-sdk-ios#253 ·
-
area:dictation documentation P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
uttrflow/uttrflow-swift#1180 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100