Skip to content

[Bug]: HUD popovers stay open when a click lands outside the HUD window #435

Description

@EtienneLescot

Describe the bug

Esc does not close the HUD's language menu. The manual e2e checklist requires it:

Press Esc with the language menu open and confirm it closes without changing the locale.

Clicking outside the menu does not close it either. Clicking the language button again does, so the control itself works — only the dismiss paths fail.

The keystroke does reach the window: the HUD was confirmed as the foreground window (GetForegroundWindow → the packaged Openscreen.exe) at the moment Esc was sent, and the behavior reproduced twice.

Expected behavior

Esc closes the language menu and leaves the current locale unchanged.

To Reproduce

  1. Start the app so the HUD is showing.
  2. Click the language button (shows the current code, e.g. EN).
  3. The locale menu opens.
  4. Press Esc — the menu stays open.
  5. Click anywhere outside the menu — it still stays open.
  6. Click the language button again — now it closes.

Environment

  • OS: Windows 11 (26200)
  • Build: packaged Openscreen.exe 1.9.6, built from main @ 95e350e0 via npm run build:win
  • Launched with OPENSCREEN_DISABLE_CONTENT_PROTECTION=1 so the HUD is visible in captures

Found during a computer-use pass over technical-documentation/testing/manual-e2e-checklist.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus: fixed in mainWork is merged into main but may not be in a downloadable release yet.status: pending releaseMerged change is waiting for a packaged desktop release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions