[GH-ISSUE #1370] Bluetooth widget switches are completely desynced from connection status #6027

Open
opened 2026-05-23 01:54:38 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @Funtimes909 on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1370

Describe the bug
The bluetooth widget switches can get de-synced when disconnecting and reconnecting bluetooth devices, showing the wrong status.

To reproduce
Steps to reproduce the behavior:

  • Enable the bluetooth widget
  • Connect and reconnect headphones at random
  • Switches and labels will become de-synced, showing a device as connected while it is actually disconnected.

Expected behavior
Switches and labels in the bluetooth module will sync correctly and reflect the current status of bluetooth devices and their connection status

System information:

  • Distro: Arch Linux (6.18.2-1-cachyos)
  • Compositor: niri 25.11 (b35bcae)
  • Ironbar version: 0.19.0-pre (git version from AUR)
  • Bluetooth: bluez-5.86-2

Configuration
My configs can be found at my dotfiles repo

Additional context

Screenshots

Image

In this image you can see that the device "ATH-M50xBT2" is connected (and has audio playing through it), but the switch is in the off position. The enable bluetooth switch is also in the off position, while the widget correctly reflects the bluetooth adapters status as on, the "D90" device switch shows it as being connected, but the device is offline and was never connected.

It seems that the status of these switches is in no way synced to the actual connection status.

Possibly related, as you can see in my config file the format string for the bluetooth widget shows to display the devices name and battery status on the widget, this used to work in the past but hasn't for some time (unsure on when this stopped being displayed)

Originally created by @Funtimes909 on GitHub (Feb 12, 2026). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1370 **Describe the bug** The bluetooth widget switches can get de-synced when disconnecting and reconnecting bluetooth devices, showing the wrong status. **To reproduce** Steps to reproduce the behavior: - Enable the bluetooth widget - Connect and reconnect headphones at random - Switches and labels will become de-synced, showing a device as connected while it is actually disconnected. **Expected behavior** Switches and labels in the bluetooth module will sync correctly and reflect the current status of bluetooth devices and their connection status **System information:** - Distro: Arch Linux (6.18.2-1-cachyos) - Compositor: niri 25.11 (b35bcae) - Ironbar version: 0.19.0-pre (git version from AUR) - Bluetooth: bluez-5.86-2 **Configuration** My configs can be found at [my dotfiles repo](https://git.funtimes909.xyz/Funtimes909/dotfiles/src/commit/eac70f8b3816877a4e96f30320676c34cc6658c0/ironbar) **Additional context** <!-- Add any other context about the problem here. --> **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> <img width="381" height="277" alt="Image" src="https://github.com/user-attachments/assets/91b42957-b855-428d-893b-f29881888424" /> In this image you can see that the device "ATH-M50xBT2" is connected (and has audio playing through it), but the switch is in the off position. The enable bluetooth switch is also in the off position, while the widget correctly reflects the bluetooth adapters status as on, the "D90" device switch shows it as being connected, but the device is offline and was never connected. It seems that the status of these switches is in no way synced to the actual connection status. Possibly related, as you can see in my config file the format string for the bluetooth widget shows to display the devices name and battery status on the widget, this used to work in the past but hasn't for some time (unsure on when this stopped being displayed)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#6027
No description provided.