CodeEditApp / CodeEditApp/CodeEdit

🐞 Open Quickly doesn't exactly 'close'

オープン
#1,821 コメント 0 件 リアクション 0 件 担当者 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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、説明されている Open Quickly のシーケンスを再現します。検索し、ナビゲートまたはカーソルを移動し、モーダルを閉じて再度開きます。モーダルの削除、キャッシュされたクエリ、選択された項目、検索結果、プレビューリソースを担当する Open Quickly の実装を調べます。完了条件は、閉じる操作によって結果が破棄されてプレビューリソースが解放され、再度開いたときにクエリが保持されて結果が再計算されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
swift
領域
desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。