🐞 Suggestion window fails to draw
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- swift
- Domain
- desktop-dev
Research direction
Start by reproducing the failure with the example's mock completions, allowing the suggestion panel to appear and disappear repeatedly. Inspect the suggestion window and viewmodel handling around the reported canBecomeKeyWindow warning. Done means the suggestions window continues to render after repeated use, and completions are not inserted when the view fails to render.
Written by the indexing model from the issue text.
Description
Description
Everytime after using the editor with the suggestion feature for a short period of time (5-15 appereances of the panel), the panel window just doesnt appear anymore, but pressing "TAB" or "ENTER" still inserts suggestions at the cursor.
In the XCode console I get:
Warning: -[NSWindow makeKeyWindow] called on <NSWindow: 0x401330240> windowNumber=151f8 which returned NO from -[NSWindow canBecomeKeyWindow].
This happens for the latest version still, with the new "Suggestion Window Fixes" PR merged.
To Reproduce
- Use the example with the mock completions for a longer period of time
- Let the panel appear and disappear 10-20x
Expected Behavior
The suggestions window should always render, and IF something fails to render, the viewmodel should refrain from inserting completions.
Version Information
CodeEditSourceEditor: latest main branch
macOS: 15.5 (24F74)
Xcode: 16.4 (16F6)
Additional Context
No response
Screenshots
No response
- 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 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
maxgoedjen/secretive#840 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
manaflow-ai/cmux#13763 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openwallet-foundation/multipaz#2028 ·