-
Notifications
You must be signed in to change notification settings - Fork 964
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
tigervnc cursor "cropped" with gnome #1863
Comments
Update: it works fine if I use vncviewer unmodified on Fedora 41, in the above failing case, the client was running Ubuntu 24.04. It's starting to look like an fltk problem |
Are you saying you are only seeing this with the TigerVNC vncviewer on Ubuntu 24.04? Is that the vncviewer included in Ubuntu? Do other viewers work on that same Ubuntu machine? |
No response. Closing. |
Ouch, I didn't see your reply (I think the github notification got spam filtered). I'll try to do more testing. |
I can see the problem with vinagre, remmina but not xtightvncviewer interestingly |
I re-did the tests. With a Fedora 41 client, either X11 or Wayland gnome env, it works fine. With Ubuntu 24.04 LTS (X11) I see the problem with the above clients. Same server in all cases. |
Is the TigerVNC client installed from Ubuntu's repositories? Could you try the version from our release page? So we can rule out any build issues. |
I'll give that a spin tomorrow |
Same problem, the cursors are cut off using your client. I will try to spend some time during the next few days (or the holidays) to track this down further client-side, maybe through fltk.. it could be something in one of the underlying X libs... I built vncviewer from source and I can reproduce the problem. I can see the cursor image being intact in readSetCursorWithAlpha(), I'll try to follow things from there (gdb is a PITA in Ubuntu, I can't seem to source debug into libraries coming from .deb packages easily, I'll need to spend more time on this) |
You can reproduce this with Fedora 41. Run the Xvnc server with a gnome session in it, connect with tigervnc client,
and the mouse cursor is often "Cropped" vertically. It depends on the cursor, but for example the "I" cursor used when hovering above text tends to only show the top half.
I did a bunch of printf'ing around the server. It appears that the bitmap (RGBA mode) is fine all the way. Here's an example
This displays the alpha channel.
However, what's ... surprising, is that if I disable cropping by commenting out this line:
then the cursor on the client is complete.
I haven't yet had a chance to try to debug the situation client-side. I'm open to advice, otherwise I'll spend time later and update this issue.
The text was updated successfully, but these errors were encountered: