Bug 416322 - No simple way to remove unwanted "available devices"
Summary: No simple way to remove unwanted "available devices"
Status: RESOLVED FIXED
Alias: None
Product: Bluedevil
Classification: Plasma
Component: system tray (show other bugs)
Version: 5.14.5
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-01-16 09:44 UTC by arne anka
Modified: 2020-12-07 20:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20.5
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka 2020-01-16 09:44:13 UTC
I work in a larger office area where there are a lot of bluetooth devices around, the majority with bt enabled either because the owners do not care or because they don't know about it.

a) Thus, pairing a new device is frequently a hassle, since the new device I am looking for is drowned in a lot of devices I am not interested in.
b) After finding and successfully pairing, all those other devices still occupy the list of "available devices" in the systray popup.

There is no easy way to get rid of all those devices, I cannot select them all and remove them at once, but I have to select each and every one, hit the "-" button, confirm the "are you sure" dialog and proceed to the next entry.
Seeing that there are dozens of devices around, an impossible task.

I propose to
1) allow batch removal of devices from the list
2) keep track of those removed devices and do not list them again
3) provide a button to show all those previously removed devices again

Item 2) would resolve the hassle described in a).
Item 3) would allow for previously removed devices to be paired later on, if need arises
Comment 1 Nate Graham 2020-04-13 19:46:09 UTC
Maybe after removing a device, it should move to a third section titled "hidden devices" that defaults to a collapsed state.
Comment 2 Nicolas Fella 2020-12-01 00:19:41 UTC
Kind of duplicate of https://bugs.kde.org/show_bug.cgi?id=422383 which also complains about unwanted devices
Comment 3 Bug Janitor Service 2020-12-06 15:39:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/bluedevil/-/merge_requests/26
Comment 4 Nicolas Fella 2020-12-07 19:37:24 UTC
Git commit b4ba0dae5c4f3a15c180b35aa5f96263b7843c2a by Nicolas Fella.
Committed on 07/12/2020 at 19:37.
Pushed by nicolasfella into branch 'master'.

Show only paired devices in KCM and applet

Currently only paired/known devices are shown initially. Once the user starts the
wizard we enter discover mode and all newly found devices are added to
the model and thus the applet and KCM. When the KCM is closed and opened
again only the paired devices.

To avoid this filter out unpaired devices in the ProxyModel that is used
by the applet and KCM.
Related: bug 422383

M  +6    -0    src/applet/plugin/devicesproxymodel.cpp
M  +1    -0    src/applet/plugin/devicesproxymodel.h

https://invent.kde.org/plasma/bluedevil/commit/b4ba0dae5c4f3a15c180b35aa5f96263b7843c2a
Comment 5 Nicolas Fella 2020-12-07 19:39:12 UTC
Git commit de1681fbe2ed6ca502c72c2fe78bcd3df91ca332 by Nicolas Fella.
Committed on 07/12/2020 at 19:38.
Pushed by nicolasfella into branch 'Plasma/5.20'.

Show only paired devices in KCM and applet

Currently only paired/known devices are shown initially. Once the user starts the
wizard we enter discover mode and all newly found devices are added to
the model and thus the applet and KCM. When the KCM is closed and opened
again only the paired devices.

To avoid this filter out unpaired devices in the ProxyModel that is used
by the applet and KCM.
Related: bug 422383
(cherry picked from commit b4ba0dae5c4f3a15c180b35aa5f96263b7843c2a)

M  +6    -0    src/applet/plugin/devicesproxymodel.cpp
M  +1    -0    src/applet/plugin/devicesproxymodel.h

https://invent.kde.org/plasma/bluedevil/commit/de1681fbe2ed6ca502c72c2fe78bcd3df91ca332