You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy and paste shortcuts do nothing in Settings text fields #258
⌘V, ⌘C, ⌘X and ⌘A do nothing in Settings text fields. For example, a token can't be pasted into Settings → Packages → Sources… → Add source…; ⌘V fails in its Index URL and Name fields too. Right-click → Paste works.
Steps to reproduce
Copy any text.
Open Settings → Packages → Sources… → Add source….
Click the Token field (or Index URL) and press ⌘V.
Expected
The text is pasted, as with right-click → Paste. ⌘C, ⌘X and ⌘A work too.
Environment
StableBar 0.6.0-beta.20261023070947.322
macOS 26.6.2
Evidence
The reporter confirmed that ⌘V fails in the Token, Index URL and Name fields, and that right-click → Paste fills the Token field. So the fields accept a paste; only the shortcut is lost.
Diagnosis
StableBarApp.swift runs the app with setActivationPolicy(.accessory), and nothing sets NSApp.mainMenu. AppKit maps ⌘X, ⌘C, ⌘V and ⌘A to cut:, copy:, paste: and selectAll: through the main menu's key equivalents; a text field doesn't handle them itself. With no main menu, the key event finds no handler. An accessory app never shows its main menu, but AppKit still uses that menu's key equivalents, so a hidden Edit menu with these items would bring the shortcuts back.
The only ⌘ shortcuts Settings defines are ⌘Z and ⇧⌘Z on the Undo and Redo buttons in CustomizationWindow.swift, so these four don't clash.
Related
fix: keep the Settings form the same height while saving or showing errors #165 kept Undo and Redo in the Settings footer because "StableBar has no main menu (it is an accessory app), so those buttons hold the only ⌘Z and ⇧⌘Z in Settings." This issue is about the clipboard and Select All shortcuts; ⌘Z can stay with those buttons.
Activity
chore(release): 0.7.0 [skip ci]
stablebar-releases commentedon Oct 23, 2026
🎉 This issue has been resolved in version 0.7.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀