Skip to content

Hover popups disappear while moving diagonally into them #360

Closed

Description

@Seb-GRAF

What happens

A popup opened on hover can disappear while the pointer travels diagonally from its widget into it. Crossing a neighbouring widget replaces it with that widget's tooltip before an item can be selected.

The reported example is the Menu bar items row next to Control Center: moving left and down toward a menu bar item replaces the row with the Control Center tooltip.

Steps to reproduce

  1. Place Menu bar items beside another widget with a tooltip, such as Control Center.
  2. Rest the pointer on Menu bar items until its row opens.
  3. Move diagonally across the neighbouring widget toward an icon in the row.

Expected

Keep the current popup open while the pointer moves toward it through a safe triangle. Resume normal closing or switching when the pointer leaves that path or stops outside the popup. Clicking to keep a popup open should retain its current behaviour.

Environment

  • Reported by the maintainer on 2026-10-28, with a screen recording.
  • Exact running StableBar build, macOS version and display arrangement were not supplied.
  • The relevant behaviour is still present on main at 9a98370.

Evidence

The supplied recording shows the Menu bar items row opening and then being replaced by the neighbouring Control Center tooltip during the diagonal movement. The recording was reviewed locally; it is not attached here.

Diagnosis

In Sources/StableBar/WidgetPopup.swift on 9a98370, hover uses zero delay when another hover popup is already open. closeAfterHover closes after 200 ms outside the widget and popup. Neither checks whether the pointer is moving toward the open popup.

The guide documents the gap-crossing grace period in docs/popups.md and the Menu bar items hover behaviour in docs/widgets.md. No configuration enables a safe triangle today. Clicking the widget keeps the row open as a workaround.

Related

Triaged by Codex (gpt-6-astra).

Activity

  1. added
    bug
    on Oct 28, 2026
  2. stablebar-releases commented on Oct 29, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.9.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions