altdesktop / i3ipc-python

🐍 An improved Python library to control i3wm and sway.
http://i3ipc-python.readthedocs.io
BSD 3-Clause "New" or "Revised" License
844 stars 108 forks source link

stop application on focus lost stops i3status process too #174

Open pizdjuk opened 3 years ago

pizdjuk commented 3 years ago

I have following line

exec _i3-stop-application-on-unfocus.py "Pale moon" palemoon

works good. But sometimes it sends SIGSTOP signal to the processes, that have i3status in their name too. So the system turns completely unusable out. This happens ~1-2 times/day. After changing to a terminal console and sending SIGCONT signals to the stopped processes, all works fine.

pizdjuk commented 3 years ago

So. I think to find how to trigger the bug:

  1. run the browser
  2. run the script
  3. run floating terminal window
  4. focu on this floating terminal window
  5. make it fullscreen with a shortcut
  6. see that i3status was SIGSTOPped
pizdjuk commented 3 years ago

Oh. It seems to be deeply: https://github.com/i3/i3/issues/2280