Skip to content
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

Java Viewer: double cursor on Mac when using server-side cursor rendering #64

Open
dcommander opened this issue Sep 11, 2016 · 2 comments
Labels

Comments

@dcommander
Copy link
Member

When using the Java TurboVNC Viewer on OS X and turning off cursor shape updates (i.e. enabling server-side cursor rendering), the local cursor is still displayed. This doesn't seem to happen when running the same viewer on Windows (haven't tested Linux.) @bphinz, have you seen this? In my testing, it occurs with the TigerVNC Java viewer as well.

@dcommander dcommander added the bug label Sep 11, 2016
@bphinz
Copy link
Contributor

bphinz commented Sep 12, 2016

Yes, I see that too. I was looking into another cursor related issue on Friday, I'll let you know if I find anything.

@dcommander
Copy link
Member Author

Further experimentation seems to suggest some sort of race condition in Swing, the symptoms of which are causing the custom cursor to be forgotten under certain circumstances. I can reliably reproduce it in both your viewer and mine by mousing past the left of the window, then mousing back into the window slowly and pausing as the mouse cursor changes to the window frame resize cursor. When cursor shape updates are enabled, the bug exists as well, but it manifests as the custom cursor being replaced by the standard arrow until the next cursor shape update is received. When cursor shape updates are disabled, the bug manifests as the custom cursor being displayed in addition to the standard arrow.

@dcommander dcommander changed the title Java: double cursor on Mac when using server-side cursor rendering Java Viewer: double cursor on Mac when using server-side cursor rendering Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants