Skip to content

Add back navigation for multiple Bluetooth adapters - #2154

Merged
mmstick merged 2 commits into
pop-os:masterfrom
alvinwin:fix/bluetooth-adapter-back-navigation
Aug 25, 2026
Merged

mmstick merged 2 commits into
pop-os:masterfrom
alvinwin:fix/bluetooth-adapter-back-navigation

Conversation

@alvinwin

Copy link
Copy Markdown
Contributor

Summary

  • add the standard COSMIC sub-page back control after selecting one of multiple Bluetooth adapters
  • return directly to the adapter chooser by clearing the selected adapter
  • recompute the Bluetooth status heading when entering or leaving an adapter
  • add regression coverage for chooser, selected-adapter, and return states

Root cause

The multi-adapter chooser stores the selected adapter as in-page state. Bluetooth is registered as a top-level settings page, so it did not receive the automatic back header used by separately registered sub-pages even though SelectAdapter(None) already provided the correct state transition.

Fixes pop-os/pop#3931.

Validation

  • cargo fmt --all --check
  • cargo clippy --all-features
  • cargo test --all-features (42 passed)
  • manually launched cosmic-settings bluetooth with two adapters, selected an adapter, and used the new back control to return to the chooser

Manual result

Bluetooth adapter detail with the new back control

The existing mouse-button-4 behavior is outside this patch; this change addresses the missing visible navigation control reported in the issue.

@alvinwin
alvinwin marked this pull request as ready for review August 23, 2026 06:53
@mmstick
mmstick requested a review from a team August 24, 2026 19:31
@jklgrasso jklgrasso self-assigned this Aug 25, 2026

@jklgrasso jklgrasso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the Bluetooth page was the only change, I didn't do the full checklist.

Bluetooth

  • Bluetooth device connects.
  • Paired device can be disconnected & reconnected.
  • Paired device can be forgotten & connecting again works.

This change works as expected :)

@mmstick
mmstick merged commit 2c2dc48 into pop-os:master Aug 25, 2026
4 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.

Bluethooth Settings with several BLE recivers no backbutton

3 participants