Repository navigation
test(desktop-linux): allow x11vnc's one early cursor shape in the viewer cursor test - #488
Merged
Merged
Conversation
…wer cursor test x11vnc applies -nocursorshape by polling. libvncserver enables cursor shape updates when it reads SetEncodings, and x11vnc clears them on its next main loop pass. The first framebuffer update can therefore carry one shape. Allow at most one shape before the first pointer move, and still require none after the pointer is painted into the pixels. Closes #481
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The viewer cursor test expected no cursor shape update at all. Under load it once received one.
x11vnc applies
-nocursorshapeby polling. libvncserver turns on cursor shape updates when it reads the client's SetEncodings, and x11vnc turns them off on its next main loop pass (screen.cin x11vnc 0.9.17). The first framebuffer update can therefore carry one shape. The test now allows at most one shape before the first pointer move. It still requires no shape after that, and the pixel checks are unchanged, so the pointer must still be painted into the pixels.Closes #481
No device pass: this changes one test assertion and no product behavior.
probe-load-*.log,probe-idle*.logcursorShapes1before-fail-4.log,before-fail-69.log,before.logafter.log,after-rebase.logtsc --noEmit, PickCheck, gitleakslint-480-481.logA real viewer can get the same early shape. That is outside this test fix and is tracked in #486.
Evidence paths are under
~/.pickforge/investigations/481/on the author's machine.Review: