when I set signal_strength = true in the Net block and reload i3, just before signal strength loads I see black spots on the status line in the net area which disappears after signal strength is fully loaded....
Can confirm:
Before it's loaded:

After it's loaded:

You can also reproduce this by disabling everything in the net block except for the signal strength icon. The graphical bug then persists forever.

Can someone using sway confirm whether they can reproduce this?
Also, can someone who's experiencing this run i3status-rs from the command line and post the output? Interested to see if there's something strange there.

I can't reproduce on sway. I'm using a simulated wireless device but it shouldn't make a difference... :/
Closing due to lack of response and not being able to reproduce it here. Please re-open if you have further info.
I just checked and the block does actually send the wrong color information before it's loaded:
Before loading:
{
"background":"#000000",
"color":"#000000",
"full_text":"",
"markup":"pango",
"separator":false,
"separator_block_width":0
}
After loading:
{
"background":"#535353FF",
"color":"#FFFFFFFF",
"full_text":" 84% ",
"markup":"pango",
"name":"b74fa0319ac2436086692d7fa59e7d60",
"separator":false,
"separator_block_width":0
}
So this probably is an issue that is solvable in i3status-rust
Is it just the net block that has that behaviour?
It's the only one i ever see it on, yes. All other blocks have their colors set correctly immediately.
Also, it's worth noting that this only happens for the signal strength widget, not the entire block.
Unfortunately i'm not well-versed enough in rust to debug this. It also doesn't bother me that much since it's only ever there for a couple of seconds.
Does it happen when using the recently introduced format string for the net block? If not then the format string has indirectly fixed this issue.
I'll have a look
IIRC it will still use widgets if the deprecated options are used, so make sure only the format option is specified in your config when you try.
First of all unrelatedly, after updating my current config shows fields that it didn't before. Even though i have set
[[block]]
block = "net"
device = "ppp0"
hide_inactive = true
hide_missing = true
interval = 10
speed_up = false
speed_down = false
ip = false
[[block]]
block = "net"
device = "eno1"
hide_inactive = true
hide_missing = true
interval = 10
speed_up = false
speed_down = false
ip = false
[[block]]
block = "net"
device = "wlp2s0"
signal_strength = true
interval = 10
speed_up = false
speed_down = false
ip = false
The blocks show some speeds:

This is probably unintended and should be fixed?
Alright, with the format string it now shows this before initialization, which is way better:

Resolved via #738
Most helpful comment
Can confirm:
Before it's loaded:

After it's loaded:
