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

Sending two SIGUSR1s in quick succession causes focus to shift to workspace -1 (?) and stop responding #12

Open
zarakshR opened this issue Mar 28, 2021 · 0 comments

Comments

@zarakshR
Copy link

zarakshR commented Mar 28, 2021

If two or more SIGUSR1s are sent quickly one after the other, focus selects to workspace -1 and displays a loading cursor icon until workspace is manually switched back to workspaces 1..10 and - i3expod.py quits with either
KeyError: -1 in
File "/home/zaraksh/.local/bin/i3expod.py", line 110, in signal_show
i3.command('workspace ' + global_knowledge["wss"][visible_ws_primary]['name'] +

or,

UnboundLocalError: local variable 'jump' referenced before assignment
File "/home/zaraksh/.local/bin/i3expod.py", line 793, in show_ui
if not jump:

To recreate - (About ~60% chance)
killall -s SIGUSR1 i3expod.py && killall -s SIGUSR1 i3expod.py

killall -s SIGUSR1 i3expod.py && sleep 1 && killall -s SIGUSR1 i3expod.py
killall -s SIGUSR1 i3expod.py && sleep 2 && killall -s SIGUSR1 i3expod.py
do not recreate the issue

killall -s SIGUSR1 i3expod.py && sleep 0.5 && killall -s SIGUSR1 i3expod.py
does, however

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

1 participant