Distro/DE: regolith (ubuntu based)/i3
i3bar is losing some clicks (one miss in every 3 or 4 clicks, sometimes more), and I can't find the reason.
Tried compiling i3blocks from source (regolith uses the i3xrocks fork, which has the same issue) but problem remained, I've used this minimum configuration to reproduce:
[click]
full_text=Click me!
command=echo "$(date +%s) Got clicked with button $BLOCK_BUTTON" >> /tmp/log2
That's everything on cfg file, I'm running it like this, from i3:
status_command /path/to/cloned/i3blocks -c $i3xrocks_config -vvv 2>/tmp/i3blocks.err
This is the i3blocks version:
i3blocks 1.5 © 2014-2019 Vivien Didelot and contributors
And this is the i3bar version:
i3bar version 4.16.1 (2019-01-27) © 2010 Axel Wagner and contributors
And when I download i3blocks from ubuntu repo (i3blocks 1.4 © 2014 Vivien Didelot and contributors) I got the clicking right, but it's not the best solution as I'm using the new features from 1.5.
This is the log from 4 clicks, the 3rd and 4th lost. The spaces were added for clarity, after each click.
<7>line.c:line_parse:65: &0:000: ,{"name":"click","button":1,"modifiers":[],"x":3242,"y":1066,"relative_x":18,"relative_y":6,"width":62,"height":20}
<7>block.c:block_click:206: [click] clicked
<7>block.c:block_parent:346: [click] forked child 22030
<5>read(0, 1): Resource temporarily unavailable
<7>bar.c:bar_poll_exited:149: [click] exited
<7>block.c:block_wait:416: [click] process 22030 exited with 0
<7>block.c:block_update:146: [click] updated successfully
<5>waitid(): No child processes
<7>i3bar.c:i3bar_print_block:160: [foo] no text to display, skipping
<7>line.c:line_parse:65: &0:000: ,{"name":"click","button":1,"modifiers":[],"x":3242,"y":1066,"relative_x":18,"relative_y":6,"width":62,"height":20}
<7>block.c:block_click:206: [click] clicked
<7>block.c:block_parent:346: [click] forked child 22032
<5>read(0, 1): Resource temporarily unavailable
<7>bar.c:bar_poll_exited:149: [click] exited
<7>block.c:block_wait:416: [click] process 22032 exited with 0
<7>block.c:block_update:146: [click] updated successfully
<5>waitid(): No child processes
<7>i3bar.c:i3bar_print_block:160: [foo] no text to display, skipping
<5>read(0, 1): Resource temporarily unavailable
<7>line.c:line_parse:65: &0:000:
<5>read(0, 1): Resource temporarily unavailable
<5>read(0, 1): Resource temporarily unavailable
<7>line.c:line_parse:65: &0:000:
<5>read(0, 1): Resource temporarily unavailable
Those clicks have about one second of interval, I'm not maniacally clicking in order to reproduce this problem.
Distro/DE: regolith (ubuntu based)/i3
i3bar is losing some clicks (one miss in every 3 or 4 clicks, sometimes more), and I can't find the reason.
Tried compiling i3blocks from source (regolith uses the i3xrocks fork, which has the same issue) but problem remained, I've used this minimum configuration to reproduce:
That's everything on cfg file, I'm running it like this, from i3:
status_command /path/to/cloned/i3blocks -c $i3xrocks_config -vvv 2>/tmp/i3blocks.errThis is the i3blocks version:
i3blocks 1.5 © 2014-2019 Vivien Didelot and contributorsAnd this is the i3bar version:
i3bar version 4.16.1 (2019-01-27) © 2010 Axel Wagner and contributorsAnd when I download i3blocks from ubuntu repo (
i3blocks 1.4 © 2014 Vivien Didelot and contributors) I got the clicking right, but it's not the best solution as I'm using the new features from 1.5.This is the log from 4 clicks, the 3rd and 4th lost. The spaces were added for clarity, after each click.
Those clicks have about one second of interval, I'm not maniacally clicking in order to reproduce this problem.