Skip to content

Pause Bluetooth discovery during pairing - #11260

Open
itsMattGuenther wants to merge 1 commit into
omacom:quattrofrom
itsMattGuenther:fix/bluetooth-pairing-feedback
Open

Pause Bluetooth discovery during pairing#11260
itsMattGuenther wants to merge 1 commit into
omacom:quattrofrom
itsMattGuenther:fix/bluetooth-pairing-feedback

Conversation

@itsMattGuenther

Copy link
Copy Markdown

The Bluetooth panel keeps discovery active while it starts an outgoing pair or connection. On adapters where inquiry competes with connection paging, that can make the attempt time out; because omarchy-bluetooth-device discarded every failure status, the panel then returned to idle without explaining what happened.

This pauses panel-owned discovery before pair/connect actions, keeps the cached available-device row visible during the pause, and observes the helper process so failures produce an actionable retry message. The helper now returns failure immediately instead of continuing to trust and connect a device that did not pair.

Fixes #8614

Validation:

  • bash test/shell.d/bluetooth-test.sh
  • Loaded the checkout in the running Omarchy shell and verified the connection-failure state renders without clipping or stale busy state
  • Exercised the revised helper against a real Xbox controller and an unavailable address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bluetooth panel: Inquiry loop blocks connections (br-connection-page-timeout) & discovered devices flicker

1 participant