Bug 449517 - Applet instance should show a brief error in addition to the notification about connection failure
Summary: Applet instance should show a brief error in addition to the notification abo...
Status: RESOLVED FIXED
Alias: None
Product: Bluedevil
Classification: Plasma
Component: system tray (show other bugs)
Version: master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-02-02 19:27 UTC by ratijas
Modified: 2024-03-05 14:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2022-02-02 19:27:17 UTC
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
Comment 1 Bug Janitor Service 2024-03-05 12:06:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/bluedevil/-/merge_requests/160
Comment 2 Kai Uwe Broulik 2024-03-05 12:55:30 UTC
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