Skip to content

⌘W doesn't close the Settings window #588

Closed

Description

@Ergotomy

Problem

In most cases, windows close when the user hits CMD + W. This requires to have the focus on the window you want to close.
With StableBar, we can alt+tab to the settings window, but CMD+W doesn't close it

Proposal

Enable closing the Stablebar Settings window with CMD+W shortcut.

Possible today

No Idea sorry.

Related

No response


Triage

Problem. ⌘W closes the front window in Mac apps. In StableBar Settings it does nothing.

Diagnosis. AppKit sends ⌘W through the main menu's key equivalents. EditMenu.make() in Sources/StableBar/EditMenu.swift, which StableBarApp.swift sets as NSApp.mainMenu, holds only Cut, Copy, Paste and Select All, so nothing answers ⌘W. The Settings window has a close button, and closing it runs windowWillClose in CustomizationWindow.swift, which saves and turns StableBar back into a menu-bar-only app.

Possible today. No. The window's close button closes it.

Proposal. Add a Close item with ⌘W that sends performClose(_:) to the key window, so ⌘W closes Settings, and any other StableBar window with a close button, as that button does.

Related. #199 shows StableBar in the Dock and app switcher while Settings is open.

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    needs-triage
    on Nov 12, 2026
  2. changed the title [-]Settings windows is imune to CMD+W[/-] [+]⌘W doesn't close the Settings window[/+] on Nov 12, 2026
  3. added
    P2
    and removed
    needs-triage
    on Nov 12, 2026
  4. stablebar-releases commented on Nov 12, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.14.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

    P2enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions