wingpanel-indicator-bluetooth
wingpanel-indicator-bluetooth copied to clipboard
Ambiguous explanations when connecting a keyboard
What Happened?
I wanted to connect my MX Keys bluetooth keyboard, and the message displayed was... weird ? unclear ? uncorrect ?

There isn't "code displayed" on my keyboard.
Steps to Reproduce
- connect a bluetooth keyboard
- wait for the pairing message
Expected Behavior
The message should be modified.
For instance, this is what I get when I connect my bluetooth keyboard on Gnome

Please enter the following PIN on "%s" . Then press "Return" on the keyboard.
I guess I understand what elementary OS is trying to "tell" me, but it's unclear. I'm also wondering if it's (only) a "wording" problem or if it's something deeper in the code.
OS Version
7.x (Horus)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
That message makes sense when connecting a phone (which will display the code) but not when connecting devices without a supply so should be suppressed in that case (assuming it is possible for elementary to determine whether or not the connecting device has a display).
The code is a security check to make sure that you are connecting your phone to the device that you think you are (no man in the middle attack).
Hello Jeremy, thanks a lot for your explanation.