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
don't wait for windows to be mapped to send their contents #3473
Labels
Comments
totaam
added a commit
that referenced
this issue
Feb 22, 2022
the opengl backend needed a way to wait until the drawing area is realized so that it can generate an opengl context
Seems to work OK! |
totaam
added a commit
that referenced
this issue
Feb 22, 2022
totaam
added a commit
to Xpra-org/xpra-html5
that referenced
this issue
Feb 22, 2022
As of dc13263, to make it easier to trigger the race condition client side, set |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment, for non override-redirect windows, when a new window is created we have to wait for the client to also create the remote window, it then sends the geometry used back to the server which can then map the window and sends the contents.
Over a slow connection, this causes unnecessary delays during which the window contents are blank.
Instead, we can pre-map the window where we think it is going to land on screen (where the application requested it) and send the contents immediately - if the client maps it in a different location, the
map-window
packet andconfigure-window
will adjust the window location later.And if the window is a different size, we will re-send the correct contents - at least there is something to show before that happens.
The text was updated successfully, but these errors were encountered: