Vitals
Vitals copied to clipboard
Disable no longer available (but enabled) sensor
Describe the bug I've configured Vitals to show Wi-Fi link quality. After disabling the Wi-Fi card the sensor value is shown as "..." in the top panel. Trying to disable the no longer needed sensor seems not possible - as it is no longer offered in the dropdown menu.
To Reproduce Steps to reproduce the behavior:
- Enable Wi-Fi link quality.
- Disable/Remove Wi-Fi hardware.
- Lock and Unlock Gnome Session
- Top Panel shows previously shown Wi-Fi link quality as "...".
- Drop down menu does no longer list Wi-Fi link quality.
- No (obvious) way to disable Wi-Fi link quality, now continuously shown as "...".
Expected behavior Wi-Fi link quality can be disabled in the dropdown menu while it's enabled, while the sensor is no longer available.
Screenshots
Wi-Fi hardware available and Wi-Fi link quality sensor enabled:
Wi-Fi hardware disabled, while Wi-Fi link quality sensor is still enabled, no (obvious) way to disable it:
Desktop information:
- OS: Fedora 33
- Gnome Version 3.38
If you click the round refresh icon, does it go away?
Unfortunatly that is not the case. Clicking the circular refresh button (with the circled arrow) on the bottom left of the popup window does not make the no longer available sensor go away. The sensor stays "selected" and is continously shown as "...".
The issue can be easily reproduced on a notebook: Select Wifi Quality as a sensor for the top bar in Vitals. Reboot into BIOS and disable the internal Wifi card. Boot and see the sensor now shown as "..." with no obvious way to disable it.
I think I misunderstood what you were first saying. If you click another sensor/value to put it in the top bar, then click it again to hide it, it should remove the missing WiFi value. This is a short term fix (hopefully) until we can figure out a way to better handle this.
I do believe there are cases where other users would want "..." to show in case they turn their WiFi on (or whatever intermittent sensor they are using). Maybe going back to the Refresh button idea, if clicked it would prune zero value sensors (mentioned in another GitHub issue) and "..." values from the top.
Closing this ticket in favor of #287 - Will likely be working on this for the next release