Skip to content

Fix Connect button hanging on Bluetooth retries - #2

Merged
oneydef merged 1 commit into
mainfrom
cursor/fix-connect-button-hang
Sep 20, 2026
Merged

oneydef merged 1 commit into
mainfrom
cursor/fix-connect-button-hang

Conversation

@oneydef

@oneydef oneydef commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Shorten Bluetooth connect retries and add a fast path when A2DP is already up, so Connect no longer freezes the GUI for minutes.
  • Unlock header controls with a soft timeout if a background connect stalls, and fix PyGObject shutdown chaining on exit.

Test plan

  • Launch eara gui with earbuds already connected — Connect should finish almost immediately and show BT on / protocol ok
  • Power Bluetooth off, then press Connect — adapter powers on and buds reconnect without the UI staying disabled forever
  • Force a slow/failing connect — after ~90s buttons unlock again with a timeout message
  • Close the app — no Gio.Application.shutdown() TypeError in the journal

Made with Cursor

…on timeout.

Co-authored-by: Cursor <cursoragent@cursor.com>
@oneydef
oneydef merged commit d633863 into main Sep 20, 2026
2 checks passed
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.

1 participant