Repository navigation
fix: let a mouse click answer the Location prompt from the Quick toggles - #918
Conversation
Before and after
332 unchanged screens
Visual review: 332 screens, none changed. |
## [0.19.0](v0.18.0...v0.19.0) (2026-11-25) ### Features * add a Quick toggles widget, a Control Center-style panel of switches and tools by @Seb-GRAF ([d949a89](d949a89)) * add KiwiDesk as a workspace source by @M4n0x ([0da5d89](0da5d89)) * change the whole look in Appearance and set the bar's margin per axis ([#926](#926)) by @Seb-GRAF ([82156aa](82156aa)) * control each app's sound, the input device and music from the Sound widget by @Seb-GRAF ([186d7db](186d7db)) * describe KiwiDesk workspaces and list KiwiDesk with the other window managers by @M4n0x ([1149849](1149849)) * follow KiwiDesk's events and switch Spaces from workspace widgets by @M4n0x ([383e2de](383e2de)) * give setup and the starter only widgets and displays Get Widgets and Settings offer ([#916](#916)) by @Seb-GRAF ([217ae14](217ae14)) * let a popup control what plays in any app, with the timeline and 15-second skips by @Seb-GRAF ([3abe2da](3abe2da)) * list only the window managers found on this Mac in Settings by @M4n0x ([2137f5d](2137f5d)) * post your bar's image and link to social networks, and draw its glass as on screen ([#922](#922)) by @Seb-GRAF ([099250d](099250d)) * read KiwiDesk's Spaces and windows for workspace widgets by @M4n0x ([e633cba](e633cba)) * replace the included themes and rebuild setup around them by @Seb-GRAF ([e30dc67](e30dc67)) * set the space between the icons Menu bar items shows on the bar by @Seb-GRAF ([00fa4ce](00fa4ce)) ### Bug Fixes * address CodeRabbit's review of the sound controls by @Seb-GRAF ([0ac54f8](0ac54f8)) * address cubic's review of the tooltip slider by @M4n0x ([8523b0f](8523b0f)) * address the review of the sound controls by @Seb-GRAF ([40db99c](40db99c)) * don't restart workspaces for a launch seen just before they stopped by @M4n0x ([d52aa6a](d52aa6a)) * draw live menu bar items without the menu bar's opaque background by @Seb-GRAF ([815faec](815faec)) * draw StableBar's bundled icon in Share My Bar and every other view by @M4n0x ([805e945](805e945)), closes [#895](#895) * drop the earlier starter's bar sizes so each theme draws with its own by @Seb-GRAF ([5dafa75](5dafa75)) * keep a growing popup from flashing a scroll bar by @M4n0x ([edb3344](edb3344)), closes [#883](#883) * keep a themed slider in a hover tooltip to a line of text by @M4n0x ([d56519b](d56519b)), closes [#880](#880) * keep a tooltip whose controls draw nothing from crashing by @M4n0x ([2c080aa](2c080aa)) * keep each package's widgets on that package's own templates ([#824](#824)) by @Jonathanm10 ([05c7252](05c7252)), closes [#805](#805) * keep the icon's 512-pixel bitmap as its image's only representation by @M4n0x ([d876411](d876411)), closes [#895](#895) * leave out a slider's ticks unless they stand 6 points apart by @M4n0x ([25cc3cd](25cc3cd)) * leave out a slider's ticks when its steps would run together by @M4n0x ([c9d487b](c9d487b)) * leave StableBar's own mixer devices out of the Sound widget's device lists by @Seb-GRAF ([db1d7b3](db1d7b3)) * let a mouse click answer the Location prompt from the Quick toggles ([#918](#918)) by @Seb-GRAF ([6b9117f](6b9117f)) * move a plain slider one step per arrow key, and keep its ticks before macOS 26 by @M4n0x ([b54212d](b54212d)) * open SwiftUI menu bar panels from the bar on macOS 27 by @M4n0x ([50fae9e](50fae9e)), closes [#798](#798) * plan the Mac's real uninstall steps in Settings and quit once they're done by @M4n0x ([6d67a44](6d67a44)) * queue now-playing commands with the widget's other actions by @Seb-GRAF ([e5365b9](e5365b9)) * reconnect workspaces at once when a menu bar window manager launches by @M4n0x ([76771ef](76771ef)) * rescan window managers once the login shell's PATH arrives by @M4n0x ([cba21b2](cba21b2)) * share a stuck window manager lookup and queue a rescan that comes mid-scan by @M4n0x ([c86e372](c86e372)) * stop an app's tap after the queued work when one of its plans fails by @Seb-GRAF ([b894cb7](b894cb7)) * take the icon's 512-pixel bitmap from the file rather than through AppKit by @M4n0x ([bfac648](bfac648)), closes [#895](#895) * turn on Sound's details after its click was set to nothing, and qualify the docs by @Seb-GRAF ([4263bec](4263bec)) * turn on Sound's details popup in setup, the starter and earlier bars by @Seb-GRAF ([5e1a8ef](5e1a8ef)) * undo StableBar's changes when Homebrew uninstalls it ([#898](#898)) by @M4n0x ([bb90c02](bb90c02)), closes [#896](#896) * wrap a scene's hover tooltip at the live tooltip's width by @M4n0x ([82818ce](82818ce))
|
🎉 This PR is included in version 0.19.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Problem
On a bar without Location access, the Quick toggles panel shows macOS's Location prompt. Clicking Allow with the mouse closed the panel and the prompt, access wasn't saved, and the prompt came back the next time the panel opened. Answering with the keyboard worked.
Fixes #917
Changes
WiFiMonitorasks for Location access through oneCLLocationManagerthat lives as long as the app.wifiprovider and drops itsWiFiMonitorand the manager that asked.locationdthen discards the answer: the logs show#AuthPrompt ignoring CFUN response on macOSand no change of authorization. About two seconds later, a new monitor connects a new client and asks again.A click on a permission prompt leaves the popup open.
com.apple.CoreLocationAgent. When it appears, it takes the keyboard without coming to the front. WindowServer makes it the front app only once the click starts, after the popup's outside-click check has already seen a different front app.AppWatcher.pointerIsOnPermissionPrompt), instead of the front app.AppWatcher.permissionPromptsnow listsCoreLocationAgentnext toUserNotificationCenter. When the prompt comes to the front, the active app stays as it was and the popup stays open, as they already did for the System Audio Recording prompt.UserNotificationCenter: while its prompt is in front, a click outside both the prompt and the popup now closes the popup, like any other outside click.Testing
locationdandCoreLocationAgentwere followed in the unified log.main: six prompts in 30 seconds. Each answer was followed byignoring CFUN response on macOSand no change, then a new client and a new prompt. The installed bar showed the same thing at 12:45: two mouse answers were dropped, and the third, given with the keyboard, was saved.CoreLocationAgentloggedtrackMouse send action on mouseUp, andlocationdloggedauthorization to Enabled1 ms after the answer. No prompt came back. The popup still closed.authorization to Enabledon the mouse click, and Quick toggles stayed open.swift build --build-testspasses.QuickToggles|wifi|WiFi, 20 tests;PresentationIntegrationTests|NativePresentationTests|PopupSpacingTests|QuickToggles, 83 tests).scripts/check.sh --quickpasses.Merging
Two
fixcommits. A merge commit, as the other pull requests use, keeps both.Claude Opus 5.5 via Claude Code (T3 Code)