[GH-ISSUE #1248] Multiple issues with popup and bar visibility #8808

Closed
opened 2026-05-23 03:54:25 +01:00 by JakeStanger · 5 comments
Owner

Originally created by @postsolar on GitHub (Nov 22, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1248

Describe the bug

First of all see https://github.com/JakeStanger/ironbar/issues/1028

This worked on the GTK3 version, but with the current master and the same setup (see below for config) an attempt to show the popup fails with an error message and hides the bar.

To reproduce
Steps to reproduce the behavior:

  1. Add a custom module (see below for config)
  2. Run ironbar bar bar1 show-popup bindmode-hints
  3. Error message: error Module has no popup functionality
  4. Also Ironbar hides

Expected behavior

Popup shows up and the bar stays visible.

System information:

  • Distro: NixOS
  • Compositor: Hyprland
  • Ironbar version: Current master caaa97c

Configuration

Config
{
  "start": [
    {
      "type": "custom",
      "name": "bindmode-hints",
      "bar": [
        {
          "type": "button",
          "on_click": "popup:toggle",
          "widgets": [
            {
              "type": "bindmode"
            }
          ]
        }
      ],
      "popup": [
        {
          "label": "#bindmode-hints",
          "type": "label"
        }
      ]
    }
  ]
}
Styles

Additional context

Other issues

  1. ironbar bar bar1 toggle-popup bindmode-hints prints ok but doesn't actually toggle it.
  2. After ironbar bar bar1 show, subsequent show-popup do not hide the bar.
  3. First ironbar bar bar1 show hides the bar, consequent shows keep it visible.

Screenshots

Originally created by @postsolar on GitHub (Nov 22, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1248 **Describe the bug** <!-- A clear and concise description of what the bug is. --> First of all see https://github.com/JakeStanger/ironbar/issues/1028 This worked on the GTK3 version, but with the current master and the same setup (see below for config) an attempt to show the popup fails with an error message *and* hides the bar. **To reproduce** Steps to reproduce the behavior: 1. Add a custom module (see below for config) 2. Run `ironbar bar bar1 show-popup bindmode-hints` 3. Error message: error Module has no popup functionality 4. Also Ironbar hides **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> Popup shows up and the bar stays visible. **System information:** - Distro: NixOS - Compositor: Hyprland - Ironbar version: Current master [caaa97c](https://github.com/JakeStanger/ironbar/commit/caaa97c1162e8ba5ef1f8d5bd4dee9a1b51b969a) **Configuration** <!-- Share your bar configuration and stylesheet as applicable: --> <details><summary>Config</summary> ```json { "start": [ { "type": "custom", "name": "bindmode-hints", "bar": [ { "type": "button", "on_click": "popup:toggle", "widgets": [ { "type": "bindmode" } ] } ], "popup": [ { "label": "#bindmode-hints", "type": "label" } ] } ] } ``` </details> <details><summary>Styles</summary> ```css ``` </details> **Additional context** <!-- Add any other context about the problem here. --> ## Other issues 1. `ironbar bar bar1 toggle-popup bindmode-hints` prints `ok` but doesn't actually toggle it. 2. After `ironbar bar bar1 show`, subsequent `show-popup` do not hide the bar. 3. First `ironbar bar bar1 show` hides the bar, consequent `show`s keep it visible. **Screenshots** <!-- If applicable, add screenshots to help explain your problem. -->
JakeStanger 2026-05-23 03:54:25 +01:00
Author
Owner

@JakeStanger commented on GitHub (Nov 23, 2025):

Thanks for reporting. I did spot this and started looking into it, but didn't get anywhere and forgot. I'll make sure this is sorted prior to next release.

<!-- gh-comment-id:3567948491 --> @JakeStanger commented on GitHub (Nov 23, 2025): Thanks for reporting. I did spot this and started looking into it, but didn't get anywhere and forgot. I'll make sure this is sorted prior to next release.
Author
Owner

@JakeStanger commented on GitHub (Nov 24, 2025):

This was a bugger to track down.

github.com/JakeStanger/ironbar@14a02b9023/src/bar.rs (L43-L48)

Fix incoming.

<!-- gh-comment-id:3572540988 --> @JakeStanger commented on GitHub (Nov 24, 2025): This was a bugger to track down. https://github.com/JakeStanger/ironbar/blob/14a02b90239b0e1470c77a1eb28ffe57b27466c1/src/bar.rs#L43-L48 Fix incoming.
Author
Owner

@postsolar commented on GitHub (Nov 25, 2025):

Hmmm not sure it's completely fixed? I could open it with a mouse click, but not with an IPC command. E.g. for https://github.com/JakeStanger/ironbar/issues/1028#issuecomment-2994298427 I still get

error
Module has no popup functionality
<!-- gh-comment-id:3573936155 --> @postsolar commented on GitHub (Nov 25, 2025): Hmmm not sure it's completely fixed? I could open it with a mouse click, but not with an IPC command. E.g. for https://github.com/JakeStanger/ironbar/issues/1028#issuecomment-2994298427 I still get ``` error Module has no popup functionality ```
Author
Owner

@JakeStanger commented on GitHub (Nov 25, 2025):

You're right, sorry. I looked at the "other issues" and missed the main one.

<!-- gh-comment-id:3577387995 --> @JakeStanger commented on GitHub (Nov 25, 2025): You're right, sorry. I looked at the "other issues" and missed the main one.
Author
Owner

@JakeStanger commented on GitHub (Nov 25, 2025):

New fix incoming - I'll wait for you to confirm before closing.

<!-- gh-comment-id:3577434079 --> @JakeStanger commented on GitHub (Nov 25, 2025): New fix incoming - I'll wait for you to confirm before closing.
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#8808
No description provided.