Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

🐞 Open Quickly doesn't exactly 'close'

Đang mở
#1,821 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
swift
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện chuỗi Open Quickly đã mô tả: tìm kiếm, điều hướng hoặc di chuyển con trỏ, đóng modal rồi mở lại. Kiểm tra phần triển khai Open Quickly chịu trách nhiệm xóa modal, các truy vấn đã được lưu vào bộ nhớ đệm, các mục được chọn, kết quả tìm kiếm và các tài nguyên preview. Hoàn tất khi việc đóng modal hủy kết quả và giải phóng các tài nguyên preview, trong khi việc mở lại vẫn giữ truy vấn và tính toán lại kết quả.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
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

Ngôn ngữ chính
Swift
Star
23k
Fork
1.2k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeEditApp/CodeEdit

Tất cả issue của CodeEditApp/CodeEdit

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.