Summary: | Bluetooth applet popup sometimes displays "Disconnecting" status while connecting | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | cwo <cwo.kde> |
Component: | Bluetooth widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | kde, nate, postix |
Priority: | NOR | ||
Version First Reported In: | 6.2.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/bluedevil/-/commit/d43a562b27213173c260d03d8d1e28b54935a2ae | Version Fixed In: | 6.4.0 |
Sentry Crash Report: |
Description
cwo
2024-09-17 08:42:33 UTC
*** Bug 504098 has been marked as a duplicate of this bug. *** Marking as confirmed since someone else is seeing the same thing too. In the case of my headphones + Asus BT500 adapter: > This is barely noticable when disconnecting then reconnecting - For me it's always noticeable when disconnecting and re-connecting > On slow machines I wouldn't describe my machine as slow (5900X, 32 GB RAM, NVMe) If you need more information, please let me know! (In reply to postix from comment #3) > In the case of my headphones + Asus BT500 adapter: > > This is barely noticable when disconnecting then reconnecting > - For me it's always noticeable when disconnecting and re-connecting > > > On slow machines > I wouldn't describe my machine as slow (5900X, 32 GB RAM, NVMe) > > If you need more information, please let me know! Quite likely the BT adapter, driver, and device you're connecting to also matter. Maybe fully re-establishing connection is faster on some devices than others, would make sense. Potential fix: https://invent.kde.org/plasma/bluedevil/-/merge_requests/212 Git commit d92a6f12d85f052fd4c71c6b63fa170e4a09cfee by Kai Uwe Broulik. Committed on 27/05/2025 at 16:55. Pushed by broulik into branch 'master'. DevicesStateProxyModel: Split disconnecting into a dedicated state While the method "registerPendingCall" sounds generic, it's really only about the connecting state. Unfortunately, a device can be considered connected before the pending call has finished. This causes the UI to briefly display a "Disconnecting" in the UI which is confusing. By properly tracking connecting and disconnecting calls we can ensure that the device state displayed matches expectations. M +72 -8 src/applet/devicesstateproxymodel.cpp M +10 -2 src/applet/devicesstateproxymodel.h M +12 -8 src/applet/package/contents/ui/DeviceItem.qml M +1 -1 src/applet/package/contents/ui/main.qml https://invent.kde.org/plasma/bluedevil/-/commit/d92a6f12d85f052fd4c71c6b63fa170e4a09cfee Git commit d43a562b27213173c260d03d8d1e28b54935a2ae by Kai Uwe Broulik. Committed on 27/05/2025 at 17:37. Pushed by broulik into branch 'Plasma/6.4'. DevicesStateProxyModel: Split disconnecting into a dedicated state While the method "registerPendingCall" sounds generic, it's really only about the connecting state. Unfortunately, a device can be considered connected before the pending call has finished. This causes the UI to briefly display a "Disconnecting" in the UI which is confusing. By properly tracking connecting and disconnecting calls we can ensure that the device state displayed matches expectations. (cherry picked from commit d92a6f12d85f052fd4c71c6b63fa170e4a09cfee) Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de> M +72 -8 src/applet/devicesstateproxymodel.cpp M +10 -2 src/applet/devicesstateproxymodel.h M +12 -8 src/applet/package/contents/ui/DeviceItem.qml M +1 -1 src/applet/package/contents/ui/main.qml https://invent.kde.org/plasma/bluedevil/-/commit/d43a562b27213173c260d03d8d1e28b54935a2ae |