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

未关闭
#890 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
58/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
macos, swift
领域
desktop

调研方向

首先,在 macOS 上分别让聊天窗口处于可见、隐藏、最小化以及被其他窗口覆盖的状态,复现使用图标的悬停行为。结合聊天窗口的可见性,检查使用图标的悬停和工具提示处理;完成标准是:工具提示仅在聊天窗口可见时出现,而列出的复现步骤在窗口隐藏时不再触发工具提示。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Swift
星标
6.3k
派生
2k
平均合并
3 天 21 小时
30 天内合并 PR
2

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/CopilotForXcode 的其他 Issue

查看 github/CopilotForXcode 的全部 Issue

把新 issue 发到你的邮箱

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