SUMMARY When an attempt to connect to a device fails, Plasma workspace shows a timed notification in a corner of the screen. If the attempt was triggered by clicking in an applet instance far from that corner, it might be hard to notice, and user might get frustrated because nothing seems to happen ("I clikk — it dasan't work"). Also, the bigger the screen — the more prominent this issue becomes; see LTT video of Linux Challenge about Ark's compression status. STEPS TO REPRODUCE 1. Pair with a Bluetooth device. 2a. Turn off the device, take off the batteries, put it far away and make sure it won't be able to connect 2b. Or a Bluetooth stack that crashes all the time installed (ahem…) 3. Press Connect button on that device's view in the applet. OBSERVED RESULT Either immediately or after some time — an error notification appears in Plasma, but there's no visual feedback in the applet itself. EXPECTED RESULT Applet should briefly show an error state somewhere over the device item/row, or as an inline message on top/bottom of the list. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Kernel Version: 5.16.2-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
A possibly relevant merge request was started @ https://invent.kde.org/plasma/bluedevil/-/merge_requests/160
Git commit 3efb2a2dbe8e60de11a6033ef4977f64100a9646 by Kai Uwe Broulik, on behalf of Patrik Fábián. Committed on 05/03/2024 at 12:55. Pushed by broulik into branch 'master'. applet: Indicate connnection failure in the applet There is no indication of an unsuccessful connection attempt in the applet, only a notification is shown, which could be missed in some cases. This adds a "Connection failed" message under the device's name. M +5 -0 src/applet/package/contents/ui/DeviceItem.qml https://invent.kde.org/plasma/bluedevil/-/commit/3efb2a2dbe8e60de11a6033ef4977f64100a9646