Skip to content

Opening Settings focuses search and shows an unsolicited popup #780

Closed

Description

@M4n0x

What happens

Opening Settings immediately focuses Search settings. macOS can then show a suggestion popup even though the user has not started searching.

Steps to reproduce

  1. Close Settings if it is already open.
  2. Open Settings… from StableBar's menu.
  3. Observe the focused search field and unsolicited popup without typing.

Expected

Settings opens without editing a text field. Clicking search, Tab and ⌘F still allow deliberate searching, and returning to an already-open window preserves focus.

Environment

Reported StableBar version was not provided. Investigated against main at 09413500 on macOS 27.2.1.

Evidence

The reporter supplied a screenshot of the focused, empty search field and popup. An offscreen activation regression confirms that the search field retains AppKit's initial focus; the native suggestion panel has not been reproduced live.

Diagnosis

CustomizationWindow in Sources/StableBar/CustomizationWindow.swift presents an NSHostingView without resetting the initial key-view selection. Search is the first editable control in its header.

Related

#608 and #612 concern search-header sizing. #517 concerns keyboard focus indicators in widget popups. Neither covers initial focus when Settings opens.

Triaged by Codex (gpt-6.1-sol).

Activity

  1. added
    bug
    on Nov 17, 2026
  2. stablebar-releases commented on Nov 20, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.18.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

  3. added a commit that references this issue on Nov 24, 2026
    d3453be
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