Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taskbar icons eventually start disappearing after a day or two of running #194

Open
kode54 opened this issue Jun 17, 2024 · 12 comments
Open

Comments

@kode54
Copy link

kode54 commented Jun 17, 2024

Furthermore, restarting sfwbar, the icons only appear on one of my monitors. It could also be exacerbated by the fact I have two different scale factors set.

I have an LG 24UD58-B, 3840x2160@60Hz, set to 2.0 scale, and a Dell P2414 1920x1080@60Hz, set to 1.0 scale. I'm running labwc as my compositor, using wlroots master (at 0.18.0 unreleased version).

@LBCrion
Copy link
Owner

LBCrion commented Jun 17, 2024

Are you using the latest version of sfwbar? Icons only appearing on one monitor sounds like a symptom of a bug fixed in e4da910.

Icons disappearing would be harder to track. Do all icons start disappearing? (i.e. window icons, module icons, etc?).

@kode54
Copy link
Author

kode54 commented Jun 18, 2024

Only application icons are disappearing from the taskbar buttons. It seems related to monitor restore from a hotplug event on DPMS on, and doesn’t seem to affect buttons that appear after the icons vanish in the first place. I’m currently running:

sfwbar-git r1471.573aeb2-1

@LBCrion
Copy link
Owner

LBCrion commented Jun 18, 2024 via email

@kode54
Copy link
Author

kode54 commented Jun 19, 2024

Not sure. I just logged in to my desktop with the new build (r1477.0352267-1) and the icons are missing on the taskbar on my secondary (1.0 scale) monitor. The notification area icons are there, but the taskbar just has buttons with bare labels and no icons.

@LBCrion
Copy link
Owner

LBCrion commented Jun 19, 2024 via email

@kode54
Copy link
Author

kode54 commented Jun 19, 2024

I’m using the default sfwbar.config, minus three changes:

  1. Change terminal to foot
  2. Comment out network-module widget because I’m not using NetworkManager
  3. Comment out sway-lang widget because I’m not using Sway

@LBCrion
Copy link
Owner

LBCrion commented Jun 19, 2024 via email

@kode54
Copy link
Author

kode54 commented Jun 20, 2024

Seems to work sometimes. Just logged into a Wayfire session now. All icons are present, except for Wezterm's icon on the secondary monitor:

image

@LBCrion
Copy link
Owner

LBCrion commented Jun 20, 2024

Ok, I managed to replicate the issue (a bit tricky on a laptop with one monitor ;) ). This was a bit more complex than I expected. I had to refactor the mirroring code, but I think it should work now.

@kode54
Copy link
Author

kode54 commented Jun 20, 2024

Holy heck, sorry about that, but thanks, that seems to have fixed it on startup, and I'll report back in a day or two whether they manage to keep their icons. I'm thinking they will this time, though.

@LBCrion
Copy link
Owner

LBCrion commented Jul 3, 2024

Just checking if you've encountered this issue since the last fix went in?

@kode54
Copy link
Author

kode54 commented Jul 4, 2024

No, but I did randomly encounter a different one that I thought had been fixed. I'll track down the issue to post there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants