Bug 422691 - wrong device in hover text on bluetooth icon
Summary: wrong device in hover text on bluetooth icon
Status: RESOLVED FIXED
Alias: None
Product: Bluedevil
Classification: Plasma
Component: system tray (show other bugs)
Version: 5.21.3
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Nate Graham
URL:
Keywords: regression
: 433932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-09 20:34 UTC by Daniel
Modified: 2021-04-05 21:27 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.21.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2020-06-09 20:34:03 UTC
SUMMARY
This bug was introduced in 5.19.0. When hovering the bluetooth icon, it shows what device the PC is connected to. It shows a wrong device name. If I click on the bluetooth icon, the correct device shows as connected

STEPS TO REPRODUCE
1. connect to any bluetooth device, already have been connected to others in the past
2. hover over bluetooth icon in systray

OBSERVED RESULT
a wrong name is displayed

EXPECTED RESULT
the correct device name should be shown

Operating System: Arch Linux 
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.4.45-1-lts
Comment 1 Nate Graham 2020-06-10 16:54:27 UTC
Can confirm. I'm pretty sure I broke this, sorry. Will try to fix.
Comment 2 Nate Graham 2020-06-10 17:00:53 UTC
Found the bug, fixing now.
Comment 3 Nate Graham 2020-06-10 17:03:58 UTC
Git commit 29a535b1edfbd46b77b04ae43cd279729f0e6b82 by Nate Graham.
Committed on 10/06/2020 at 17:01.
Pushed by ngraham into branch 'Plasma/5.19'.

[applet] Fix tooltip showing wrong name for connected device

This was introduced with c810d1f3c8f2c7d8f513f4aa4b9b87261382ca1c
and is my fault, sorry. `device` is undefined in the single device use
case; we need to do `connectedDevices[0]` instead to make sure we get
the right one.
FIXED-IN: 5.19.1

M  +1    -1    src/applet/package/contents/ui/logic.js

https://invent.kde.org/plasma/bluedevil/commit/29a535b1edfbd46b77b04ae43cd279729f0e6b82
Comment 4 Roger Noble 2020-11-26 17:00:20 UTC
This bug or something very similar appears to be present in 5.20.3.
Comment 5 Daniel 2021-04-05 15:11:59 UTC
Happens again, plasma 5.21.3

See also https://www.reddit.com/r/kde/comments/mkkl3o/looks_like_a_bug_showing_wrong_connected/
Comment 6 Nate Graham 2021-04-05 16:19:57 UTC
Any remaining issues are caused by Bug 433932.

*** This bug has been marked as a duplicate of bug 433932 ***
Comment 7 Nate Graham 2021-04-05 21:26:20 UTC
Git commit ad327dd06e4536d872eb59c670a0e7f915d71f33 by Nate Graham.
Committed on 05/04/2021 at 21:26.
Pushed by ngraham into branch 'Plasma/5.21'.

[applet] Fix tooltip showing wrong name for connected device

This was introduced with c810d1f3c8f2c7d8f513f4aa4b9b87261382ca1c
and is my fault, sorry. `device` is undefined in the single device use
case; we need to do `connectedDevices[0]` instead to make sure we get
the right one.
FIXED-IN: 5.21.4
(cherry picked from commit 29a535b1edfbd46b77b04ae43cd279729f0e6b82)

M  +1    -1    src/applet/package/contents/ui/logic.js

https://invent.kde.org/plasma/bluedevil/commit/ad327dd06e4536d872eb59c670a0e7f915d71f33
Comment 8 Nate Graham 2021-04-05 21:26:50 UTC
Git commit ab4058afc1ad44fac0725143aa5adfd2809793c1 by Nate Graham.
Committed on 05/04/2021 at 21:26.
Pushed by ngraham into branch 'master'.

[applet] Fix tooltip showing wrong name for connected device

This was introduced with c810d1f3c8f2c7d8f513f4aa4b9b87261382ca1c
and is my fault, sorry. `device` is undefined in the single device use
case; we need to do `connectedDevices[0]` instead to make sure we get
the right one.
FIXED-IN: 5.21.4
(cherry picked from commit 29a535b1edfbd46b77b04ae43cd279729f0e6b82)

M  +1    -1    src/applet/package/contents/ui/logic.js

https://invent.kde.org/plasma/bluedevil/commit/ab4058afc1ad44fac0725143aa5adfd2809793c1
Comment 9 Nate Graham 2021-04-05 21:27:40 UTC
*** Bug 433932 has been marked as a duplicate of this bug. ***