| Summary: | Bluetooth system tray mouseover sometimes shows wrong device | ||
|---|---|---|---|
| Product: | [Unmaintained] Bluedevil | Reporter: | Joel Ray Holveck <joelh> |
| Component: | general | Assignee: | David Rosca <nowrep> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | daniel-other+kdebug, joelh, me, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.20.5 | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Joel Ray Holveck
2021-03-04 00:15:26 UTC
This may be related to 422691 (which was closed in the 5.19 branch). Adding Nate to the cc list. I experienced this recently and debugged a bit. It's not the same issue as in Bug 422691, which was happening with the front-end UI. The problem here appears to be in the back-end, in the data model itself. Occasionally, the model tells the UI the wrong device when asked for the list of connected devices. *** Bug 422691 has been marked as a duplicate of this bug. *** I am new here, I am not sure how the contribution works, but I am ready to help. I see a bug in the master branch - https://invent.kde.org/plasma/bluedevil/-/blob/master/src/applet/package/contents/ui/logic.js#L41 And it is what I still have in my PC is: [donjajo@jajo ~]$ plasmashell --version plasmashell 5.21.3 [donjajo@jajo ~]$ sed -n 41p /usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js text = i18n("%1 connected", device.name); [donjajo@jajo ~]$ `device.name` should be `connectedDevices[0].name` Oh jeez. That probably is the bug. Or at least a component of it. You can submit a merge request at https://invent.kde.org/plasma/plasma-pa/-/merge_requests. Documentation is available at https://community.kde.org/Infrastructure/GitLab. BTW I tested your proposed change and it does seem to fix the problem. So please do submit it so you can claim the credit! :) Make sure to put: BUG: 433932 FIXED-IN: 5.21.4 In the commit message. Thanks! When I reported the bug on Reddit today, I stumbled on this commit you did - https://invent.kde.org/plasma/bluedevil/commit/29a535b1edfbd46b77b04ae43cd279729f0e6b82 Which led to figuring out the root cause, but for some unknown reasons, this commit was reverted or was not pushed? ohhhhhhhhhh I guess it never got merged forward! I'll fix it. *** This bug has been marked as a duplicate of bug 422691 *** |