kasmtech / KasmVNC

Modern VNC Server and client, web based and secure
GNU General Public License v2.0
3.45k stars 306 forks source link

Mouse tracking not working in android chrome. #222

Open jhoski opened 7 months ago

jhoski commented 7 months ago

Describe the bug I am using a samsung S23 as my travel computer running under DEX with a portable monitor, keyboard, and mouse. I access my homelab with KasmVNC using the kasmweb/chromium:1.15.0-rolling stand alone docker image. With this set up the mouse pointer in KasmVNC does not track with the mouse motion, but remains stationary. It will snap to the current mouse position when you press the left mouse button and will track if you hold down the left mouse button. Clicks and other operations all seem to work fine. If you can access the KasmVNC menu then the pointer returns and tracks while operating the menu but gets stuck again when returning to the workspace.

I have another server running Kasm Workspaces and I get the same behavior when accessing it over the web. I've tested it with debian, alpine, brave, and fedora so it seems it is a VNC issue and not an application issue.

The systems operate normally from other windows and linux browsers.

System Description

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" Linux sccrcasaos 6.1.0-18-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux

KasmVNC Details

from docker container... Xvnc KasmVNC 1.2.0.3ffb8f93f0c2592fa947a6c32db1065ac833af6f - built Feb 13 2024 00:45:09 Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me) See http://kasmweb.com for information on KasmVNC. Underlying X server release 12008000, The X.Org Foundation

To Reproduce Install and access per description above.

Expected behavior Cursor should track mouse poistion.

Browser If this is a problem with the KasmVNC client, provide details about the browser you are accessing KasmVNC from.

Additional context Add any other context about the problem here.

rickkoliser commented 7 months ago

Hello @jhoski, We have attempted to reproduce the bug you described with a Note 20 Ultra 5g. We were unable to reproduce the behavior that you experienced. We do not currently have access to a newer Samsung Dex device, but we will keep this ticket open so that we can revisit this when we have additional hardware to test with.

mmcclaskey commented 7 months ago

@jhoski , would you mind trying the latest release 1.3.1? While we couldn't replicate your issue, there were other somewhat related fixes that may come into play.

devneok commented 3 weeks ago

Still expericingin this same issue as of today. Mouse pointer disappears when over active workspace window. you have to Left Click to know where the mouse is. While so, this is hapening in brave and chrome +, If I use samsung default browser, the pointer tracks but lots of other restrictions with samsung default browser.

mbhkoay commented 4 days ago

Having this issue as well using Tab S7 FE. Though using lscr.io/linuxserver/firefox. So far samsung browser and chrome does not work, but the android firefox browser works.