CodeEditApp / CodeEditApp/CodeEdit

🐞 Open Quickly doesn't exactly 'close'

未关闭
#1,821 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Swift
星标
23k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

### 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

1. `cmd` `shift` `o` to show Open Quickly.
2. Enter a search term.
3. You can also move down the list and move the text cursor to the left.
4. Press `escape` or click elsewhere to close the Open Quickly modal
5. 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。