-
Notifications
You must be signed in to change notification settings - Fork 10
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
Sometimes windows don't flash IF they gained focus because another window was closed. #8
Comments
Also trying to run it in debug mode with -d or --debug makes it crash with this output:
|
Thanks for filing this issue. Just to confirm that I'm understanding you, this is only occurring when you close a window correct? Could you possibly generate a logfile for me? To do so, make sure that no other flashfocus instance is running, then run |
Oh also, does bspwm automatically switch your focus when you close windows? |
Yes & Yes. Here's a log and here's a recording of the output as the bug happens. Thanks for the quick response, btw. |
Okay, I apologise for spamming recordings but I got a weird message in the output while messing around, Hopefully it's useful. |
Thanks for the detailed info! I think I know whats going on. Working on a fix now, I'll let you know when its up. |
So I fixed the uncaught exception but I think its probably a red herring. I failed to reproduce with a stock bspwm setup on my machine. It seems like for whatever reason, the _NET_ACTIVE_WINDOW property isn't getting updated when you close windows sometimes, so flashfocus can't detect that you shifted focus. Hard to debug from here but a couple of possibilities off the top of my head:
If you want to pursue this further, I'd advise making sure you're fully updated, then trying again with default compton + bspwm config files. Thanks :) |
Okay, you're right, it's not happening with stock configs. I managed to trace it down to a single option in my bspwm config: |
Interesting, thanks for tracking that down. I'll look into this a bit, this seems like a weird and perhaps unintended behaviour on bspwm's part. |
It flashes like 50% of the time, but when it doesn't, it'll flash if you click anywhere in it, which is kinda annoying. Here's a screen recording showing it.
I'm using bspwm, didn't test on anything else.
The text was updated successfully, but these errors were encountered: