Skip to content

Keep Bluetooth controls available when the adapter disappears - #19189

Closed
Tsurgcom wants to merge 1 commit into
omacom:quattrofrom
Tsurgcom:fix/bluetooth-rfkill-recovery
Closed

Tsurgcom wants to merge 1 commit into
omacom:quattrofrom
Tsurgcom:fix/bluetooth-rfkill-recovery

Conversation

@Tsurgcom

Copy link
Copy Markdown
Contributor

When rfkill removes the BlueZ adapter, the Bluetooth icon disappears and the panel cannot turn Bluetooth back on.

Keep the icon and switch available without an adapter, and allow the switch to request that Bluetooth be unblocked. The panel continues to report when no adapter is detected.

Fixes #16501.

Testing: Bluetooth shell tests passed. Verified the off/on cycle using a local copy of the widget; the adapter returned. Full test suite running.

Screenshots

Not yet captured; this keeps the existing off icon and switch visible when the adapter is absent.

@greptile-apps

greptile-apps Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Keeps Bluetooth controls available when BlueZ loses the adapter.

  • Bluetooth controls stay available when the adapter disappears.

Tsurgcom acknowledged that screenshots have not yet been captured: “Not yet captured; this keeps the existing off icon and switch visible when the adapter is absent.”

Reviews (1) · Last reviewed commit: "Keep Bluetooth controls available when a..." · Reviewed by Greptile

@omarchybot omarchybot added the bug Something isn't working label Nov 17, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

This makes the same change as #11252, which also targets quattro: it keeps the disabled icon, widget and power switch visible when the adapter is absent, and lets the toggle call omarchy-bluetooth-power on in that state. The separate null/disabled icon checks and the switch's default visibility here give the same behavior as the explicit checks in #11252.

GPT-6 High in Codex compared both diffs and the current Bluetooth power command; Opus 5.5 High agreed with the duplicate finding. Reviewer independence is not guaranteed. No tests were run for this duplicate comparison, and this does not verify either fix on hardware.

Thanks, @Tsurgcom. Closing this as a duplicate so the discussion stays with #11252. The fix remains open there for the maintainer to consider; this can be reopened if something here is missing from it.

@omarchybot omarchybot added the duplicate This issue or pull request already exists label Nov 17, 2026
@omarchybot omarchybot closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bluetooth panel: turning Bluetooth off on a ThinkPad removes the adapter, and the panel can't turn it back on

2 participants