| Summary: | Displayed name of a Bluetooth device's battery is an HID name, not the alias which you can set in preferences | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | ratijas <me> |
| Component: | Power and Battery widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | bharadwaj.raju777, kde, me, nate, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| URL: | https://gitlab.freedesktop.org/upower/upower/-/issues/169 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
KDE Bluetooth - apple magic keyboard's names
The old/original/remote/HID name in the applet powermanagement data engine: magic keyboard's properties Sucessfully renamed MX Keys in both applets |
||
|
Description
ratijas
2022-01-23 22:55:42 UTC
Created attachment 145821 [details]
The old/original/remote/HID name in the applet
Created attachment 145822 [details]
powermanagement data engine: magic keyboard's properties
bluez devices have two properties: 'Name' and 'Alias'. Changing the name in systemsettings is writing to 'Alias'. upower seems to only consider Name and ignore Alias, so I'm inclined to call this a upower bug. I don't see the Alias exposed anywhere in the upower interface Checked the upower source and it does consider Alias: https://gitlab.freedesktop.org/upower/upower/-/blob/master/src/linux/up-device-bluez.c#L206 And after restarting upowerd and Plasma the alias shows up correctly in the applet, so the "only" problem seems to be runtime updating Is there anything we can do here, or is this purely an upstream issue? we could theoretically work around it by manually asking bluez for the device alias, but I really don't want to. Assuming the upstream issues is fixed we also need to make sure that we actually handle a changing "battery" name properly The upstream issue linked seems to be fixed, can this be closed? I don't have a Bluetooth device on hand which can confirm the fix. Created attachment 152514 [details]
Sucessfully renamed MX Keys in both applets
I won't be able to test on that apple keyboard for another month or so, unless i find one around here. Worked on MX Keys though.
Also IIRC I renamed its HID name using friend's macbook — they seem to talk some extended protocol which is not available on Linux. At least, I definitely haven't seen that "denis - …" label in a while.
Set to WAITINGFORINFO, so it will remind me in 30 days Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |