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

Open
#890 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
macos, swift
Domain
desktop

Research direction

Start by reproducing the usage icon hover behavior on macOS with the chat window visible, hidden, minimized, and covered by another window. Inspect the usage icon's hover and tooltip handling together with chat-window visibility; done means the tooltip appears only when the chat window is visible, while the listed reproduction steps no longer trigger it when hidden.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Swift
Stars
6.3k
Forks
2k
Avg merge
3d 21h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/CopilotForXcode

All issues in github/CopilotForXcode

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.