Skip to content

Usage popup closes on any click elsewhere; no black corners behind popups - #29

Merged
PieMH merged 1 commit into
mainfrom
fix/usage-popup-close
Oct 21, 2026
Merged

PieMH merged 1 commit into
mainfrom
fix/usage-popup-close

Conversation

@PieMH

@PieMH PieMH commented Oct 21, 2026

Copy link
Copy Markdown
Owner

What

Two fixes to the 1.1.2 popups.

  • The usage popup closes on a click anywhere else. It used to close only when you clicked another app. Now it uses StaysOpen=True and closes itself when:

    • you click anywhere else in the window (the window's PreviewMouseDown, unless the mouse is over the popup);
    • you click the terminal or the Browser panel. Those clicks never reach WPF, so the popup closes when focus leaves it;
    • the window loses activation, moves or resizes.

    Esc and clicking the meters to close it work as before. The 250 ms guard keeps a click on the meters from reopening the popup it just closed.

  • No black square behind rounded corners. The usage popup and the / list are now AllowsTransparency="True".

Checks

  • dotnet build -c Release: 0 warnings.
  • dotnet test -c Release: 497/497 passed.
  • --smoke: exit 0.
  • Tried by hand in the Debug build: clicks in the terminal, the Browser panel, the sidebar and the bottom bar all close the popup, and the corners are clean.

🤖 Generated with Claude Code

… and Browser panel included; popups with rounded corners are transparent behind them
@PieMH
PieMH merged commit 1708aec into main Oct 21, 2026
1 check passed
@PieMH
PieMH deleted the fix/usage-popup-close branch October 21, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant