Skip to content

Widgets on the main display take no clicks or drags while editing the bar in place #345

Closed

Description

@Seb-GRAF

What happens

With the bar in edit mode (Edit Bar), widgets on the main (external) display ignore the mouse. A drag does not start at all: no closed-hand cursor and no lifted tile. Clicking a widget does not open its settings either. The minus badge still removes a widget. On the laptop's built-in screen, dragging and clicking work. This used to work on the main display too.

Steps to reproduce

  1. Use a laptop with an external display as the main display.
  2. Choose Edit Bar from the bar's menu.
  3. On the main display, drag a widget, or click it.

Expected

The widget lifts and moves where it is dropped (#167), and a click opens its settings, as on the built-in screen.

Environment

  • StableBar 0.9.0-beta.20261026184650.435
  • macOS 26.6.2
  • Built-in laptop screen (works) and an external main display (fails)
  • Last working version: unknown

Diagnosis

Both the drag and the click go through BarEditDragSourceView (Sources/StableBar/BarEditDrag.swift), the AppKit view that BarEditTile wraps around each tile (BarEditView.swift). The minus badge is a SwiftUI overlay outside it and still works, so on the main display that view, or the window under it, does not get the mouse down.

The drag code has not changed since #192, and since v0.8.0 no commit changes ignoresMouseEvents, registerForDraggedTypes, hitTest, dragSession or the edit state. A nearby change that affects one display but not the other is more likely. Bar view commits since v0.8.0 worth bisecting:

Related

Triaged by Claude Code (claude-opus-5-5).

Activity

  1. added
    bug
    on Oct 27, 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