Repository navigation
Description
What happens
Since #516, pressing Tab in a popup with macOS keyboard navigation on shows focus only on buttons and rows. These controls show nothing while they have focus:
- sliders, including sliders with an end stop
- toggles
- segmented controls
- the chooser button
- text fields (
inputandsearch)
So Tab can land on a slider or a toggle, and the arrow keys or Space change it, without anything showing which control that is. A text field still shows its cursor.
Disabled rows in an app menu popup also take Tab focus but never highlight, so Tab seems to stop on nothing.
Steps to reproduce
- Turn on Keyboard navigation in System Settings › Keyboard.
- Open a popup with a slider, toggle, segmented control or chooser.
- Press Tab until focus reaches it. Nothing marks it, yet the arrow keys move it.
I didn't try these steps on a Mac. This comes from reading the code on main and from #516's own notes.
Expected
Every control in a popup shows Tab focus in a look that fits the popup, as #515 asked. Tab skips disabled menu rows.
Environment
mainat0e8ef0b, released inv0.12.0-beta.20261109161138.786- Renders below drawn on macOS 27.2
Diagnosis
PopupViewturns off the system focus effect for the whole popup (Sources/StableBar/PopupView.swift:108). Apple's documentation says an outerfocusEffectDisabled()wins over inner ones, so a control inside the popup can't turn its own ring back on.- fix: drop stray focus rings and show popup focus in the theme's hover look #516 gave buttons a replacement: their hover look, or
FocusHighlight(PopupView.swift:869). Controls without a hover look got none:PopupSlider(:530),EndStopSlider(Sources/StableBar/EndStopSlider.swift:193),PopupToggle(:554),PopupInput(:569),PopupChooser(:592),PopupSegmented(:923) and the search field (:464). fix: drop stray focus rings and show popup focus in the theme's hover look #516's description lists them as not covered. AppMenuRowhides its focus background for disabled entries (PopupView.swift:1110), but its button isn't.disabled, so Tab still stops on them.- A theme without a popup hover background draws hover in the popup's own background (
Sources/StableBar/Configuration.swift:339). Among the bundled themes only Terminal sets none. There, focus on the buttons fix: drop stray focus rings and show popup focus in the theme's hover look #516 covered is invisible too.
Options for the look
Rendered offscreen from main with a temporary switch. In each image, one control is shown as focused.
- A · macOS focus ring on these controls only, by moving
focusEffectDisabled()from the popup onto the views that draw their own focus. It looks native, but it is system blue on every theme. The renders can't capture the real ring offscreen, so they draw a ring in the system's focus color around each control. The real ring may follow each control's shape more closely. - B · Ring in the theme's accent, drawn by StableBar in the popup's accent color. It fits every theme. In Built-in the accent is close to system blue, so A and B look alike there.
- C · Theme's hover background behind the control, as
FocusHighlightalready does for buttons. It matches fix: drop stray focus rings and show popup focus in the theme's hover look #516, but it barely shows in Built-in's light popups and doesn't show at all in Terminal.
Related
- The system focus ring shows up on bar widgets and on a popup's first button #515 asked for Tab focus "in the popup's own style". fix: drop stray focus rings and show popup focus in the theme's hover look #516 removed the stray rings and covered buttons and rows.
- CodeRabbit raised the same gaps on fix: drop stray focus rings and show popup focus in the theme's hover look #516, in its comments outside the diff and in its Linked Issues check.
- Use the bar with VoiceOver and the keyboard #212 is about reaching the bar itself with the keyboard and VoiceOver. Setup's tiles, closing card and permission buttons are hard to use with the keyboard and VoiceOver #464 covers setup.
Triaged by Claude Code (Claude Opus 5.5).




Activity
stablebar-releases commentedon Nov 20, 2026
🎉 This issue has been resolved in version 0.18.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀