domsson / succade

Run, feed and style your Lemonbar with ease
Creative Commons Zero v1.0 Universal
55 stars 3 forks source link

Lemonbar doesn't always show the input we feed it #29

Open domsson opened 4 years ago

domsson commented 4 years ago

Because of a bug in lemonbar, feeding new input to lemonbar in quick succession doesn't work, which can lead to lemonbar showing a previous state rather than the newest.

Example: Assume succade is configured with two blocks, both static, one that produces output ever so slightly faster than the other. This will cause succade to feed lemonbar two times in quick succession, the first time only containing the faster block, the second time containing both blocks. However, lemonbar will show only the first block, as it completely ignored the second input, as it came in too fast.

We can't really fix this in succade, so there are two options here:

shdown commented 4 years ago

See https://github.com/shdown/bar/commit/eb0e9e79b9a35c3093f6e2e90d9fbd175a2305ef

domsson commented 4 years ago

@shdown thanks for making me aware. Did you turn that into a PR for lemonbar?

shdown commented 4 years ago

Yes, but it went nowhere: https://github.com/LemonBoy/bar/pull/198

domsson commented 3 years ago

Looks like it was merged now!