Quick settings: Bluetooth submenu ignores devices' Alias property
Affected version
- Fedora Linux 38 (Workstation Edition)
- GNOME 44.0
- Appears in XOrg and Wayland
- Happens without extensions
Bug summary
The Bluetooth submenu inside of the quick settings area lists every device by its Name
property, even when it has a set Alias
. This differs from the behaviour observed in other parts of GNOME.
Steps to reproduce
- Turn on Bluetooth
- Set up at least one Bluetooth device
- Set an alias for one of these devices using
bluez-tools
:$ bt-device --set <name|mac> Alias "New alias"
. You might need to restart Bluetooth using# systemctl restart bluetooth
. - Open the quick settings area and expand the Bluetooth submenu. The device will be listed using its
Name
property. - Initiate a connection with this device only. The second line in the Bluetooth toggle will show the connected device using its
Alias
property.
What happened
The Bluetooth submenu defaulted to the Name
property for all devices even though some of them had a set Alias
.
What did you expect to happen
GNOME Shell was expected to default to a device's Alias
property if it exists and fall back to its Name
if it doesn't.
This is the behaviour observed in the second line of the Bluetooth toggle (when applicable) and in gnome-control-center
. One advantage of the Alias
property is that it's user-customisable, while the Name
isn't.
Relevant logs, screenshots, screencasts etc.
Here, "W-Speaker" is the Name
of the device and "Xylophone" is its Alias
. (The vertical misalignment is unrelated to this bug; it's caused by a newline left in the default name by the manufacturer.)