Repository navigation
Description
What happens
Some widgets react only when their text or content is clicked. Clicking the surrounding tile padding does nothing. The reporter sees this with personal widgets and widgets from Seb-GRAF/stablebar-packages.
Steps to reproduce
-
Configure a widget with a primary action and space around its label, for example:
{ "id": "calendar", "type": "text", "position": "right", "text": "Calendar", "open": "com.apple.iCal", "style": { "width": 180, "height": 36, "paddingHorizontal": 16 } } -
Click its label, then click the empty area inside the tile.
-
Compare whether Calendar opens. The same distinction applies to a widget with
onClick, a popup or a menu.
These are reproduction steps derived from the report and code; an on-screen reproduction was skipped at the reporter's request.
Expected
The widget's whole tile, including padding and configured dimensions, activates its primary action or popup.
Environment
- StableBar version and macOS version were not supplied.
- Display setup, window manager and exact personal configuration were not supplied.
- The source issue is present on
mainat41a1877on 2026-10-16.
Evidence
- The reporter describes text-only clicks in both personal and store widgets.
- The store's
datewidget usesopen, andsystem-monitorandcalendar-agendausepopupName; all pass through the sharedWidgetView. - Searches of issues and PRs in every state for
click,tile,hit areaandpadding, including result bodies and comments, found no existing report of this behavior. - The stable changelog and latest published beta (
v0.5.0-beta.53) do not contain a fix, and currentmainstill has the affected layout.
Diagnosis
In Sources/StableBar/BarView.swift, WidgetView.body gives each plain button only content(appearance) as its label. Padding and width/height modifiers wrap the button afterward, leaving that area outside its clickable label. Workspace buttons and popup menu rows already place their dimensions and a rectangular content shape inside the button label.
Move the widget padding and dimensions into the shared label and give it a rectangular content shape. This belongs in StableBar's renderer; widget packages need no changes.
Related
- feat: add widget packages that contain no commands #34 added
openactions for widgets and packages; it did not expand the button label to the tile bounds. - feat: give themes light and dark colors and organize Customize around the bar's look #31 changed theme and appearance editing; it did not address the clickable area.
Triaged by Codex via T3 Code (gpt-6-astra).
Activity
stablebar-releases commentedon Oct 21, 2026
🎉 This issue has been resolved in version 0.5.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀