LBCrion / sfwbar

S* Floating Window Bar
GNU General Public License v3.0
251 stars 16 forks source link

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

Open kode54 opened 3 weeks ago

kode54 commented 3 weeks ago

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 commented 3 weeks ago

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 commented 3 weeks ago

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 commented 2 weeks ago

I think I found the cause. Would you mind trying the latest git version to see if it fixes the issue?

On Tue, Jun 18, 2024 at 4:49 AM Christopher Snowhill < @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/194#issuecomment-2174932299, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFDNHOSATS25GR72RZTZH6U6FAVCNFSM6AAAAABJNEXG3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUHEZTEMRZHE . You are receiving this because you commented.Message ID: @.***>

kode54 commented 2 weeks ago

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 commented 2 weeks ago

What config are you using? Does your taskbar use grouping?

On Wed, 19 Jun 2024, 07:10 Christopher Snowhill, @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/194#issuecomment-2177825768, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFCQV7DKNN5PO4KKJPDZIEOD7AVCNFSM6AAAAABJNEXG3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZXHAZDKNZWHA . You are receiving this because you commented.Message ID: @.***>

kode54 commented 2 weeks ago

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 commented 2 weeks ago

Ok, I think I found the cause (again). Would you mind giving the latest git version a go?

On Wed, Jun 19, 2024 at 10:53 AM Christopher Snowhill < @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/194#issuecomment-2178256575, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFB4CRGCJDNKV5OEGYDZIFIIBAVCNFSM6AAAAABJNEXG3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGI2TMNJXGU . You are receiving this because you commented.Message ID: @.***>

kode54 commented 2 weeks ago

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 commented 2 weeks ago

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 commented 2 weeks ago

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 commented 5 days ago

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

kode54 commented 5 days ago

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