kaii-lb / overskride

A simple yet powerful bluetooth client.
GNU General Public License v3.0
519 stars 10 forks source link

"Connected" should not be a switch #19

Open acerspyro opened 8 months ago

acerspyro commented 8 months ago

Unfortunately, GNOME Settings suffers from the same problem.

A Bluetooth connection is not a binary state. It can have multiple states, such as:

image

At the moment, the "off" state can indicate "Not connected" or "Connection failed", while the "on" state can indicate "Connected" or "Connecting".

Instead, the user should be provided with a button at the top of the page whose label changes from "Connect" to "Disconnect" with a useful glyph such as + and X, alongside a "Connection Status" label in the "Status Information" section. The connect / disconnect button should be disabled while connecting or disconnecting.

Pairing status also appears to be absent from the interface.

kaii-lb commented 8 months ago

There are toasts (mini-notifications) that update thw user on the state of the connection. ie: when a connection fails a notification pops up saying so, with the exact reason why.

I might add a "failed" icon where the spinner is currently but other than that a switch row is best for the UI in my opinion.