Skip to content

Menu bar item drag fails with negative itemMinX on multi-display setup #255

@rohanp2051

Description

@rohanp2051

Description

When dragging menu bar items between Visible and Hidden sections, the operation fails after 8 retry attempts with EventError.itemResponseTimeout.

Environment

  • macOS: 15.7.4 (Sequoia)
  • Thaw: 1.1.0
  • Hardware: Apple Silicon (aarch64), multi-display setup (5120x1440 Odyssey G9 OLED using as main monitor while laptop is docked)

Log output

The control item reports a negative (off-screen) itemMinX, and startX == endX so no movement occurs:

Move points: startX=3418.0 endX=3418.0 startY=0.0 targetMinX=3418.0 itemMinX=-1886.0 targetTag=io.tailscale.ipn.macsys:Item-0 itemTag=com.stonerl.Thaw:Thaw.ControlItem.Visible display=2

All 8 attempts fail with the same error:

[WARNING] [MenuBarItemManager] Move events failed, posting fallback
[DEBUG] [MenuBarItemManager] Attempt N failed: EventError.itemResponseTimeout(item: com.stonerl.Thaw:Thaw.ControlItem.Visible)

After the final attempt:

[ERROR] [LayoutBarPaddingView] Error moving menu bar item: EventError.itemResponseTimeout(item: com.stonerl.Thaw:Thaw.ControlItem.Visible)

Expected behavior

Dragging items between Visible and Hidden sections should reposition them correctly.

Suspected cause

The itemMinX=-1886.0 coordinate suggests the item position is being calculated incorrectly across displays, placing it off-screen. Since startX and endX are identical (3418.0), no drag movement is generated, causing the timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Noticeable bug with a usable workaroundbugSomething isn't workingmacos-15Issue specific to macOS 15 (Sequoia)

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions