[GH-ISSUE #1012] Unable to assign multiple classes to custom widget #7339

Closed
opened 2026-05-23 02:53:58 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @BBFifield on GitHub (May 27, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1012

Describe the bug
Attempting to assign multiple classes to any module within an ironbar configuration results in them being treated as a single class.

To reproduce
Steps to reproduce the behavior:

  1. Assign multiple classes to a module's class field like "primary secondary", with a space separating each class name.
  2. Launch the GTK inspector by executing "ironbar inspect".
  3. Click the object selector button in the top left.
  4. Then double click the cell listing the style classes for the widget to which they were assigned earlier.
  5. A popup should appear listing your classes on a single line.
  6. Other widgets which had already been assigned multiple classes should have them separated across multiple lines in the popup.

System information:

  • Distro: NixOS
  • Compositor: Hyprland
  • Ironbar version: The latest rev from the repo
Originally created by @BBFifield on GitHub (May 27, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1012 **Describe the bug** Attempting to assign multiple classes to any module within an ironbar configuration results in them being treated as a single class. **To reproduce** Steps to reproduce the behavior: 1. Assign multiple classes to a module's class field like "primary secondary", with a space separating each class name. 2. Launch the GTK inspector by executing "ironbar inspect". 3. Click the object selector button in the top left. <img src=https://github.com/user-attachments/assets/7961db39-af3f-437d-9f77-573759158262 height=500> 4. Then double click the cell listing the style classes for the widget to which they were assigned earlier. 5. A popup should appear listing your classes on a single line. <img src=https://github.com/user-attachments/assets/dcb3d372-b17e-4b71-b67a-207b49658d93 height=500> 6. Other widgets which had already been assigned multiple classes should have them separated across multiple lines in the popup. <img src=https://github.com/user-attachments/assets/c38cd410-520c-47f9-8ee8-845f4f28a278 height=500> **System information:** - Distro: NixOS - Compositor: Hyprland - Ironbar version: The latest rev from the repo
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#7339
No description provided.