Skip to content

Control Center DankBar No-Icon Issue #1377

Description

@Bodify

Compositor

  • Niri
  • Hyprland
  • MangoWC (dwl)
  • Sway

Distribution

  • Arch Linux
  • CachyOS
  • Fedora
  • NixOS
  • Debian
  • Ubuntu
  • Gentoo
  • OpenSUSE
  • Other (specify below)

If Other, please specify

No response

dms version

Any (v1.2.0-13-g623eec36)

Description

If the DankBar's Control Center widget has all icons disabled except for VPN and/or Screen Sharing (potentially others too) it just shows an empty space with background behind it. It doesn't check for whether the VPN/ScreenShare status is active and actually showing an icon or not. Since they are not active they do not display an icon and leave this odd empty space.

I noticed this since I have all icons turned off (to just show the cogwheel) and the late additions of VPN and Screen Sharing start off as enabled so I have to turn them off too. It's a non-issue when they are disabled but still a minor bug/oddity.

Expected Behavior

Three ways one could handle it that comes to mind.

  1. Show the cogwheel as if no icons are enabled during this state.
  2. Hide the emtpy space and its background entirely
  3. Show VPN/ScreenShare icons grayed our or something to indicate inactive.

Steps to Reproduce & Installation Method

  1. Enable Control Center widget on DankBar
  2. Disable all icons except for VPN and/or Screen Sharing (while they are inactive)
  3. Observe the odd empty space

Error Messages/Logs

No response

Screenshots/Recordings

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions