Otter-shell · #79
Icon theme loading doesn't work in plugin sd_bar_item, and they are misalinged
Allow creating proper icon bar plugins
Bug report
Steps to reproduce
Make a custom plugin with an sd_bar_item
Expected behavior
the icon i put is resolved by selected free desktop icons theme, like otter built in otter bars, or otter custom buttons,
and when default size is small, it should all still look good
Actual behavior
does not resolve via freedesktop (only icon that worked was "database" which is otter hardcoded)
the icon is always this small no matter font size or default width
and when setting default width to 20, the icon isn't centered
Environment
PikaOS 4
Discussion
Sign in with Discord to comment.
PikaOS Projects
Fixed and pushed.
Verification: ReleaseFast tests/builds pass. Built the linked bluetooth-applet, changed its test icon from hardcoded database to bluetooth-active-symbolic, loaded it in a 20px plugin slot under headless Sway with Pop selected, and visually confirmed an 18px centered icon before and after theme hot reload. No nested Hyprland session was used.