Skip to content

Expanding the app menus on hover can move them into More widgets, out of reach #312

Closed

Description

@Seb-GRAF

What happens

On a notched display, with Expand on hover on for the App menus widget, hovering the app name makes the widget disappear. It stays gone while the pointer moves over its spot and returns when the pointer leaves, so no menu can be opened. Its menus are listed under More widgets (…), but moving the pointer there ends the hover: the widget returns and its entries leave that menu.

Steps to reproduce

  1. On a MacBook with a notch, put { "type": "appMenu", "position": "left", "expandOnHover": true } with other widgets on the left side, so the expanded titles don't fit before the notch.
  2. Hover the app name.

Expected

The menus expand and the neighboring widgets make room, as App menus says: "Expanding the menus moves neighboring widgets to make room." The hovered widget stays on the bar.

Environment

StableBar main at d6193f5 (same code in v0.8.0-beta.20261024075505.382), macOS 26.6.2, built-in display with a notch.

Evidence

The maintainer's report. No screenshot yet.

Diagnosis

  • Hovering marks the widget expanded (Sources/StableBar/BarView.swift:518, WidgetPresentation.setExpanded in BarStore.swift:1129), and since fix: improve app menu hover layout and styling #137 the bar's hidden measuring copy reports the expanded width.
  • AdaptiveBarPlanner.fitting (Sources/StableBar/LayoutConfiguration.swift:122) then removes widgets from that side of the notch, lowest priority first, then latest in the configuration. Nothing protects the widget that grew, so when the app menu is the first candidate on its side, it moves itself into More widgets.
  • Its view goes away, onDisappear collapses it (BarView.swift:829), it fits again and comes back under the pointer, and the next mouse move expands it again.

Possible fix: while a widget is expanded by hover (app menus, the Sound slider, hoverLayout), leave it out of the overflow candidates so its neighbors move instead. If it alone is wider than its side, scroll it as with "overflow": "never".

Until then, a higher priority on the app menu than on its neighbors, or "overflow": "never", keeps it on the bar.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Oct 24, 2026
  2. stablebar-releases commented on Oct 26, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.8.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