-
Notifications
You must be signed in to change notification settings - Fork 104
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
Apps constantly resizing #3573
Comments
So, a bomber resize loop:
This is wild, because it isn't even interleaved - we're sending a configure, the client is acking it and committing the size we requested. And then we're requesting a different size, the client is acking it and committing the newly requested size, and then we... |
So, the underlying problem is that we have a feedback loop: the client submits a buffer, which results in the surface size changing, which notifies the window manager which results in the Wayland frontend sending a configure, and so on. We should break this cycle by not having |
Additionally, this particular behaviour does not seem to be exhibited by GTK apps. My suspicion is that this is because GTK apps call |
Ok! Further analysis! Here's a log of bomber exhibiting the bug. On the left, we have Mir's view;
As you can see, from the client's perspective everything is fine, if maybe a bit strange - it receives From Mir's perspective, though, it has received a Fundamentally, the problem here is that the client resizing the window by committing a buffer should not result in a We probably don't want to radically rethink the WM infrastructure for 2.18, so as a cludge for now we should be able to do something with matching the |
Enhancements: . Allow to specify an app id for when running on the wayland platform #3614 Bugs fixed: . SIGSEGV on input device disconnection #3601 . Frame fails to enforce fullscreen on wpe-webkit-mir-kiosk #3600 . Chromium unmaximises when focus is lost #3592 . Apps constantly resizing #3573 . Our fork/exec spawning is unsafe #3494 . Revert "Fix random leak" #3609 . Smoke tests are failing #3610
Enhancements: . Allow to specify an app id for when running on the wayland platform #3614 Bugs fixed: . SIGSEGV on input device disconnection #3601 . Frame fails to enforce fullscreen on wpe-webkit-mir-kiosk #3600 . Chromium unmaximises when focus is lost #3592 . Apps constantly resizing #3573 . Our fork/exec spawning is unsafe #3494 . Revert "Fix random leak" #3609 . Smoke tests are failing #3610
I've seen an intermittent (maybe once a week) "constantly resizing" when dragging edges to resize chromium-browser windows and some electron apps. Probably the same underlying cause as #3450. (A ping-pong of compositor requested sizes and buffers of a different size being submitted.)
@tarek-y-ismail says "I don't really have issues causing the bug. I just launch bomber and resize a couple of times"
And he's right!
The text was updated successfully, but these errors were encountered: