-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Code makes unclear branches #22
Comments
Thanks for reporting this, have seen that code before but i wasn't the one who wrote it so I had just ignored it and assumed that it worked. I have previously seen "unknown" appnames in the webui and wondered where they came from, and I now see that at least some seem to be created at that code path, but in my case i get "unknown" appnames but still without that log message which is very odd. Can you check exactly what event(s) is in the aw-watcher-window bucket during that timeperiod? |
Here you are @johan-bjareholt :
"Can't reproduce", in that I can open windows with same data without getting warnings (and at 03:28:36 I was already in the same window that at 03:28:42, but there were no warnings yet) . The warnings cover a range of open windows, and do not stop at an event boundary. I also have an "unknown" appname right at the top. Could be due to some kind of interval in-between switching windows (like switching to a virtual desktop to another, or between physical screens), maybe ? |
This is very likely the cause. IIRC I got this in xmonad when no window was active (such as having an empty workspace open). There might be other things that cause this however, but I'm not sure. That's why I wrote the logging message originally. Creating If you want to check what happens to X11: Try to use A reasonable action to take: Make the message more informative, such as: "Code made an unclear branch. This usually happens when no window is active on some platforms, if this is not the case, please file an issue. (related to aw-watcher-window issue #22)" |
@ErikBjare Maybe rename it to "None" rather than "Unknown" though, since we know that it's due to no window being focused rather than an "Unknown" window being focused? |
@johan-bjareholt Good point but I'm not sure if it is always causes that nor if it is the only cause. I need verification. I will check how common it is on my laptop vs desktop. (Laptop runs Xfce4, desktop runs Xfce4 + xmonad) |
I can generate "unknown" at will by minimizing all windows and staring at my desktop background. That seems to answer @johan-bjareholt first post question "where do they come from". But just like him, I don't get |
I got a large bunch of
2017-07-26 03:28:42,691 [WARNING]: Code made an unclear branch (aw_watcher_window.xlib:81)
(what does it mean ?), seemingly for all the heartbeats in a 20s period ?full log
It was 5 minutes ago and AW didn't crash, but iirc other crashes (in #19) were preceded by this happening.
The text was updated successfully, but these errors were encountered: