[GH-ISSUE #1015] Icons in images no longer loading #1720

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

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

Discussed in https://github.com/JakeStanger/ironbar/discussions/1014

Originally posted by bertSN1601 May 27, 2025
Is there something changed with image loading ? from tonights build icons are no longer displayed in images and or other widgets :

 { name="topbar" position = "top" start = [$workspaces $music $keyboard] center=[$clock] end=[$focused $tray $notifications $power] height=30 icon_theme = "Zafiro-Nord-Black" anchor_to_edges=true margin.right=30}

I have a top bar with icon_theme set to Zafiro-Nord-Black

$power ={
    class = "power-menu"
    name="power-menu"
    type = "custom"
    bar =[

     {
      src="icon:workspace-overview"
      name = "popupbar"
      type = "image"
      size = 24
      on_click_left = "ironbar bar side toggle-visible"
     }
     {
      src="icon:help-keyboard-shortcuts"
      name = "keyhelp"
      type = "image"
      size = 24
      on_click_left = "hyprctl dispatch togglespecialworkspace help"
     }
     {
      src="icon:system-monitor"
      name = "resources"
      type = "image"
      size = 24
      on_click_left = "resources"
     }
     {
      label = "exit"
      type = "image"
      src="icon:system-shutdown" 
      on_click_left = "nwg-bar"
      size = 24
     }
    ]
}

however icons are not displaying any more with following output:

2025-05-27T09:58:02.429907Z  WARN ironbar::image::provider: 129: failed to load image: icon:workspace-overview: 
   0: Icon 'icon:workspace-overview' not present in theme Zafiro-Nord-Black

Location:
   src/image/provider.rs:240

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
2025-05-27T09:58:02.429981Z  WARN ironbar::image::provider: 129: failed to load image: icon:help-keyboard-shortcuts: 
   0: Icon 'icon:help-keyboard-shortcuts' not present in theme Zafiro-Nord-Black

Location:
   src/image/provider.rs:240

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
2025-05-27T09:58:02.430027Z  WARN ironbar::image::provider: 129: failed to load image: icon:system-monitor: 
   0: Icon 'icon:system-monitor' not present in theme Zafiro-Nord-Black

Location:
   src/image/provider.rs:240

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
2025-05-27T09:58:02.430069Z  WARN ironbar::image::provider: 129: failed to load image: icon:system-shutdown: 
   0: Icon 'icon:system-shutdown' not present in theme Zafiro-Nord-Black

Location:
   src/image/provider.rs:240

this happens for all widsgets in the topbar but the power menu is the only one producing output .

any clues ?

Originally created by @JakeStanger on GitHub (May 27, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1015 ### Discussed in https://github.com/JakeStanger/ironbar/discussions/1014 <div type='discussions-op-text'> <sup>Originally posted by **bertSN1601** May 27, 2025</sup> Is there something changed with image loading ? from tonights build icons are no longer displayed in images and or other widgets : ```corn { name="topbar" position = "top" start = [$workspaces $music $keyboard] center=[$clock] end=[$focused $tray $notifications $power] height=30 icon_theme = "Zafiro-Nord-Black" anchor_to_edges=true margin.right=30} ``` I have a top bar with icon_theme set to Zafiro-Nord-Black $power ={ class = "power-menu" name="power-menu" type = "custom" bar =[ { src="icon:workspace-overview" name = "popupbar" type = "image" size = 24 on_click_left = "ironbar bar side toggle-visible" } { src="icon:help-keyboard-shortcuts" name = "keyhelp" type = "image" size = 24 on_click_left = "hyprctl dispatch togglespecialworkspace help" } { src="icon:system-monitor" name = "resources" type = "image" size = 24 on_click_left = "resources" } { label = "exit" type = "image" src="icon:system-shutdown" on_click_left = "nwg-bar" size = 24 } ] } however icons are not displaying any more with following output: ``` 2025-05-27T09:58:02.429907Z WARN ironbar::image::provider: 129: failed to load image: icon:workspace-overview: 0: Icon 'icon:workspace-overview' not present in theme Zafiro-Nord-Black Location: src/image/provider.rs:240 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. 2025-05-27T09:58:02.429981Z WARN ironbar::image::provider: 129: failed to load image: icon:help-keyboard-shortcuts: 0: Icon 'icon:help-keyboard-shortcuts' not present in theme Zafiro-Nord-Black Location: src/image/provider.rs:240 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. 2025-05-27T09:58:02.430027Z WARN ironbar::image::provider: 129: failed to load image: icon:system-monitor: 0: Icon 'icon:system-monitor' not present in theme Zafiro-Nord-Black Location: src/image/provider.rs:240 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. 2025-05-27T09:58:02.430069Z WARN ironbar::image::provider: 129: failed to load image: icon:system-shutdown: 0: Icon 'icon:system-shutdown' not present in theme Zafiro-Nord-Black Location: src/image/provider.rs:240 ``` this happens for all widsgets in the topbar but the power menu is the only one producing output . any clues ?</div>
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#1720
No description provided.