Usage icon registers hover events and presents tooltip when chat window is hidden

Đang mở
#890 2 bình luận 2 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
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
macos, swift
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện hành vi hover của biểu tượng mức sử dụng trên macOS khi cửa sổ trò chuyện đang hiển thị, bị ẩn, được thu nhỏ hoặc bị một cửa sổ khác che phủ. Kiểm tra việc xử lý hover và tooltip của biểu tượng mức sử dụng cùng với trạng thái hiển thị của cửa sổ trò chuyện; được xem là hoàn tất khi tooltip chỉ xuất hiện lúc cửa sổ trò chuyện đang hiển thị, còn các bước tái hiện được liệt kê không còn kích hoạt tooltip khi cửa sổ bị ẩn.

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

Mô tả

Describe the bug
The usage icon registers hover events and presents the tooltip when chat window is invisible (on initial launch of Xcode) and when chat window is hidden (minimised). The usage icon tooltip is present anytime you hover where the window would be even when window is not currently visible, or another applications window is on top of the chat window.

Usage icon tooltip:

Copilot Business Plan
You have no monthly limit on Al credits usage set by your organization. {github-copilot-settings link}

Versions

  • MacOS 15.6.1 (24G90)
  • Xcode 26.3 (17C529)
  • GitHub Copilot for Xcode (0.50.0)

Steps to reproduce

  1. Launch Xcode
  2. Hover where icon would be*, tooltip is presented
  3. Open chat from MacOS menu bar
  4. Hide chat window
  5. Hover where icon would be, usage tooltip is presented

* chat window pane typically launched on right hand side, but can be hard to figure out since you can't see the window, steps 3-5 alone still replicate the issue.

Screenshots
Chat window is active (standard behaviour)
Chat window is active

Xcode window is active, chat window not visible
Xcode window is active, chat window not visible

Chat window not visible, no other windows over where chat window would be if visible
Chat window not visible, no other windows over where chat window would be if visible

All windows are hidden (minimised)
Image

Logs
N/A?

Additional context
Doesn't matter whether other widows are active on top of where chat window would be while hidden. All windows can be hidden and usage icon tooltip is always displayed when hovering on the spot where icon is in the window. Might be due to work managed Macbook M3 Pro, haven't tested on my personal Mac Mini M4.

Ngôn ngữ chính
Swift
Star
6.3k
Fork
2k
Merge trung bình
3 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 github/CopilotForXcode

Tất cả issue của github/CopilotForXcode

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.