mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[GH-ISSUE #358] Tray icons only show text #128
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chmanie on GitHub (Nov 13, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/358
Originally assigned to: @chmanie on GitHub.
Describe the bug
With a minimal config, I'm not getting any icons for the tray. This works in waybar.
To Reproduce
Steps to reproduce the behavior:
Open ironbar with the minimal config down below (probably not easily reproducible?) Please let me know what I can do to provide any more info about this.
I can provide the log though:
Log
Expected behavior
There should be tray icons
System information:
Configuration
Config
Styles
Screenshots
@yavko commented on GitHub (Nov 14, 2023):
Looks like a NixOS problem, have you set you icon theme properly?
@chmanie commented on GitHub (Nov 14, 2023):
I have set an icon theme and it is being picked up by other tools (like waybar). Where would ironbar look for it, maybe the path is a different one?
@chmanie commented on GitHub (Nov 14, 2023):
Ok, I think it's a problem on my end. Closing this. I might report what and where icons need to go :)
@chmanie commented on GitHub (Nov 14, 2023):
Actually, I have to reopen this. It might have something to do with
librsvgbut I'm not sure exactly. I fixed this on my end and I have icons in all bars now. Except for ironbar.Here's what I found: I compiled the gtk-tray example and that works beautifully:
As ironbar depends on it, there's something weird going on, but I can't yet tell where exactly.
I also tried to build ironbar from scratch again (current master) but the result is the same as above
@ICE-GB commented on GitHub (Dec 1, 2023):
Me too, using NixOS, any progress?
@chmanie commented on GitHub (Dec 1, 2023):
You can see the progress by looking at the linked PR. Sadly I have been quite busy these days, maybe I can give it another go this weekend.
@daktras420 commented on GitHub (Dec 2, 2023):
Thank you that would be awsome. I noticed rust has a libnotify crate that
you could look at implementing hopefully the info and stuff i am doing
helps you and others. I may not be t be a programmer but i can trouble
shoot and therize therize possible solutions. Thanks for all your doing.
On Fri, Dec 1, 2023, 9:10 AM Christian Maniewski @.***>
wrote:
@calops commented on GitHub (Feb 12, 2024):
I'm afraid this bug is still happening on the current
master. Specifically forudiskieandnm-applet.Also on NixOS with Hyprland.
@yavko commented on GitHub (Feb 13, 2024):
Have you defined an icon theme in home-manager?
@calops commented on GitHub (Feb 13, 2024):
I have:
Is there another/better way to define it? It's working in other gtk programs.
@yavko commented on GitHub (Feb 13, 2024):
I thought I fixed this bug by wrapping with gtk wrapper, but ig that didn't fix it. Maybe try looking at the ironbar flake?
@chmanie commented on GitHub (Feb 13, 2024):
So what I can say is that when starting ironbar in a nix-shell (or
nix develop) it somehow doesn't have access to the system icon theme. Don't ask me why but I'm seeing the same. When installing it globally using the flake it does work for me though.@yavko commented on GitHub (Feb 13, 2024):
The gtk wrapper should still be working in those scenarios, right?
@calops commented on GitHub (Feb 18, 2024):
I can't seem to find a single way to run ironbar with these icons working.
I've tried:
nix runthe flake in this repocargo rundirectly in the repo, both in debug and release modeIs there anything else I can try?