🐞 Open Quickly doesn't exactly 'close'
還沒有人認領這個 Issue。
評估
研究方向
先重現所描述的 Open Quickly 流程:搜尋、導覽或移動游標、關閉模態框,然後重新開啟。檢查負責移除模態框、快取查詢、選取項目、搜尋結果和預覽資源的 Open Quickly 實作。完成的標準是:關閉時拆除結果並釋放預覽資源,而重新開啟時保留查詢並重新計算結果。
由索引模型根據 Issue 內容生成。
描述
Description
Open Quickly is not exactly 'closed' when its modal is removed. The expected behavior is for it to be reopened with its last search query, but having its search results remain in the background may not be intentional. For example, the resources used to load the previews are not released.
It seems xcode recomputes the query when Open Quickly is reopened. It may just be the enter animation but since the selected list item is reset when reopening, I think it recomputes.
To Reproduce
cmdshiftoto show Open Quickly.- Enter a search term.
- You can also move down the list and move the text cursor to the left.
- Press
escapeor click elsewhere to close the Open Quickly modal - reopen Open Quickly
Expected Behavior
Open quickly should teardown (but cache the query) when closed, and then recompute the results when opened again.
Version Information
CodeEdit: 0.2.0-dev (39)
macOS: 14.5
Xcode: 15.4
Additional Context
No response
Screenshots
CodeEdit:
https://github.com/user-attachments/assets/0ad94c0b-cb4a-417a-b85c-531221113b53
Xcode:
https://github.com/user-attachments/assets/c33528da-881b-46a5-a888-bff48b37a97e
- 主要語言
- Swift
- 星號
- 23.1k
- 分支
- 1.2k
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeEditApp/CodeEdit 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
CodeEditApp/CodeEdit#2190 ·
-
難度 1/5 1 小時以內 新手友好度 15/100
CodeEditApp/CodeEdit#2195 · 11 個 reaction ·
-
enhancement
難度 4/5 3-5 天 新手友好度 35/100
CodeEditApp/CodeEdit#2185 ·
-
難度 5/5 一週以上 新手友好度 25/100
CodeEditApp/CodeEdit#2181 ·
-
bug
難度 4/5 3-5 天 新手友好度 35/100
CodeEditApp/CodeEdit#2180 ·
查看 CodeEditApp/CodeEdit 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 65/100
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
jamesmontemagno/tiny-clips#378 · 2 則留言 ·
維護者通常 1 天內回覆
-
area: agents area: cli bug difficulty:2 help wanted S3: minor
難度 2/5 1-3 小時 新手友好度 82/100
manaflow-ai/cmux#15718 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
mozilla-mobile/firefox-ios#35850 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
lognorman20/monaco#998 ·