-
Notifications
You must be signed in to change notification settings - Fork 98
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
Crash in unwrap()
on MaximizedState
#1008
Comments
Okay, I think I (mostly) see what's going on now. After more testing.
I'm not sure exactly why the |
Yes it is. This is the only case where we ever map a window twice.
Doesn't actually happen, but rather we enumerate the tiling layer first in The problem with Thus this function should never be called when a double-map is in place. I modified Seems to work. |
I've been using emacs and Firefox stacked in one workspace, and have been having an issue lately where setting that up causes the compositor to crash.
I've been able to reproduce it consistently by following certain steps, and looking at
WAYLAND_DEBUG
logs it seems to be related toset_maximized
(I guess something about my Emacs configuration is causing it to call that), which I was able to reproduce in a modifiedsctk
example. But I have a simpler reproduction:(If there's a magic sequence of 5 key combos to crash the compositor, does that count as a cheat code?)
I guess
maximized_state
needs to be kept in sync with the maximize status of theWindow
, or an unwrap like this will panic. Looking at the code I'm not sure whats wrong, but at least it's easy to reproduce.The text was updated successfully, but these errors were encountered: