Handle errors in bluetooth stack
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- desktop
Direzione di ricerca
Inizia dalla pagina delle impostazioni Bluetooth e riproduci il problema bloccando Bluetooth con rfkill mentre BlueZ non è disponibile. Esamina come la pagina gestisce l’interruttore e lo stato della ricerca. Il lavoro è completato quando viene visualizzato uno stato o messaggio di errore chiaro invece del normale spinner di ricerca, consentendo agli utenti di distinguere un errore da un elenco di dispositivi vuoto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Prerequisites
- I have searched open and closed issues for duplicates.
I believe this is different from #80, but if it is a duplicate you can close it.
Feature
When something fails in the bluetooth stack (like bluez errors), the GUI doesn't register the failure and acts as if it is performing a Bluetooth device search as usual. As it is, it's impossible to tell if no devices are available or if bluetooth is failing for some reason.
Current behavior: if I toggle the bluetooth status switch to "on", the settings page lights up and the "Searching..." spinner appears.
To recreate this behavior, you can replicate the state of my system when I discovered it. There may be other issues that could cause Bluetooth to fail but keep the Switchboard plug behaving normally, but I am unaware of them.
- First, turn Bluetooth off using usual methods (status bar switch, etc).
- Using rfkill, lock Bluetooth. In my case, Bluetooth had identity 0, so the command was
rfkill block 0. - Then, go to the Bluetooth settings page and toggle it back on. The page will behave exactly as if Bluetooth was functioning, but no new devices will appear and any existing paired devices will be unavailable to connect. This is the behavior I wish to see improved.
- To return your system to its regular state, execute
rfkill unblock $BLUETOOTH_IDto remove the lock.
In my case, rfkill had been set to block bluetooth and I didn't know. Bluez would error because of this and print messages to the logs, but the plug would behave status as if it were functioning normally. I was unaware that there was a configuration issue at all until I looked through my system log.
Describe the solution you'd like
It would be helpful to include a failure message of some sort. Even if it doesn't include specific information about the error, indicating a failure would inform the user of an issue and prompt them to look for solutions.
(Edited to more clearly describe the issue and provide steps to replicate the behavior)
- Lingua principale
- Vala
- Stelle
- 26
- Fork
- 10
- Merge medio
- 17h 22m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di elementary/settings-bluetooth
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
elementary/settings-bluetooth#252 · 4 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
elementary/settings-bluetooth#251 ·
-
Needs Design Priority: Wishlist
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
elementary/settings-bluetooth#247 · 1 reazione ·
-
Bluetooth switch cannot be turned off.Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
elementary/settings-bluetooth#201 · 4 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
elementary/settings-bluetooth#198 ·
Tutte le issue di elementary/settings-bluetooth
Issue simili
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
luizomf/omxterm#697 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
k2-fsa/sherpa-onnx#4100 ·
I maintainer di solito rispondono entro 2 giorni
-
Small glitchApertapriority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
storytold/photocraft#9538 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
state:needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
zed-industries/zed#66133 ·
I maintainer di solito rispondono entro 1 giorno