🐞 Suggestion window fails to draw
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- swift
- 領域
- desktop-dev
研究方向
首先使用範例的模擬補全來重現故障,反覆讓建議面板出現和消失。檢查與回報的 canBecomeKeyWindow 警告相關的建議視窗和 viewmodel 處理邏輯。完成的標準是建議視窗在反覆使用後仍能繼續渲染,並且當檢視畫面渲染失敗時不會插入補全內容。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Swift
- 星號
- 720
- 分支
- 162
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeEditApp/CodeEditSourceEditor 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
CodeEditApp/CodeEditSourceEditor#377 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
CodeEditApp/CodeEditSourceEditor#376 · 1 則留言 ·
-
難度 1/5 1-3 小時 新手友好度 68/100
-
難度 3/5 1-2 天 新手友好度 68/100
CodeEditApp/CodeEditSourceEditor#378 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 32/100
查看 CodeEditApp/CodeEditSourceEditor 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100
googleapis/google-cloud-swift#1106 ·
-
bug channel: beta feature: preferences feature: ui/ux
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 1/5 1 小時以內 新手友好度 85/100
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
Cocoanetics/SwiftACP#52 ·