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
Mouse cursor clipped on HiDPI screen #2092
Comments
It seems that cursor size is limited to 32 in current code. Can it be larger or dynamically adjusted? |
At the moment I don't think so, although the spec allows for it. We'd need to support a feature called 'large pointers', but I can' see any evidence for it in the code. This is related to #1333, which also needs this capability to be supported. |
Hi Matt, Thanks for your reply. That issue seems to be hanging around for a while. Is it likely that this feature get implemented in the future? |
It's not got a high priority I'm afraid. All our significant effort at the moment is going into GFX and reworking the authentication architecture. |
I added #2259 for this. I have some patches around somewhere that fix this. |
And after not being able to just use the cursor on the client side without a double cursor.. I change the server x11vnc parameter just to run into another problem.. cursor clipping. At least this ticket isn't closed.. but still disappointing that cursors are this broken in xrdp - even if you want to work around issue it's still difficult. |
Not a pretty looking cursor when done this way under hidpi for Ubuntu... but you can just divide your cursor size in half via gsettings as a quick work around. So for my 24px size cursor I am now just setting it to 12.. works well enough for me, even thought it looks low res now. Obviously not a proper fix, but better than clipping or double mouse cursors till one of us has the time to really dig into this and fix it one way or another.
|
Judging by the comment, I thought it would keep the size but only make blurry ("low-res") but now, it only made the cursor smaller. This is not any better than clipped normal-size cursor, because it is difficult to see anyway. |
I guess for me it’s the size I was expecting but perhaps you wanted larger to begin w/ so dividing by half does do it for you. Fractional scaling might be problematic too. One option you have is to render the cursor locally & then figure out a VNC client that can shut off the cursor on the local PC so you only see the remote. x11vnc w/ -nocursorshape keeps my remotes cursor but unless you have a good vnc client you might end up w/ double cursors. Also to note - I am on a Mac w/ Jump Desktop & it cannot turn off my local cursor but what I described as a work around.. dividing the cursor size by half works for me, just low res. On the Windows.. I end up using either RealVNC or ultravnc & passing in -no cursor to one of their exe’s.. plus using an AHK hack to remove the window border because going fullscreen normally prevents access to my taskbar. Windows is just a bigger mess to Remote Desktop from than macOS period & Linux leaves me fiddling around.. I’m kinda done w/ it all. I’ll remote in either but I’m getting sick of having either local. |
is better. |
I'm having the same issue with Linux Mint Cinnamon. I've installed it on a Hyper-V guest VM, installed the I'm on 4k screens @ 200% DPI scaling as well. I tried changing the cursor to the Google Dot, but no matter which cursor, they are all cut off. |
Thought I'd give Linux a try in a Hyper-V VM. Mouse cursor doesn't work because of this bug. Well, I guess this isn't the year of Linux on the desktop yet again. How can this not be a higher priority? It makes the OS impossible to use comfortably on HighDPI monitors. |
I think this is fixed in devel, for the Xorg back-end at least. See #2315. I haven;t been working on it myself, so I can't say for sure, |
I met the same question when KDE in Debian12 remote by Microsoft RDP for Mac, a temporary solution is to choose the smallest cursor size, but it's too small. |
As @soda92 reported, it is fixed in v0.10.0 release. |
Step to reproduce:
(Sorry for screenshot done with camera, but I'm unable to capture the cursor using screenshot utility)
I'm currently connected using MS macOS RDP client. I'll test later with MS mstsc on Windows.
OS: Ubuntu 20.04, xrdp version: 0.9.17
Update: just tried with MSTSC, got the same behavior.
The text was updated successfully, but these errors were encountered: