workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

[Bug] - Windows 11 Display scale 125% - Maximized/full screen causes scrollbars

Open nielsbasjes opened this issue 10 months ago • 1 comments

Describe the bug When in Windows 11 the display settings are set to scale 125% (which is the value that makes the most sense for my laptop in combination with the quality of my eyes), needless scrollbars appear on any Kasm workspace that is either maximized or run in fullscreen.

When changing the Windows display scale to either 100% or 150% the problem does not happen. I suspect a rounding error in the screen size calculations caused by this uncommon scaling setting.

To Reproduce Steps to reproduce the behavior:

  1. Use Windows 11
  2. Go to the settings "System -> Display" and set under "Scale & Layout" the scale to 125%
  3. Open Chrome, connect to a Kasm 1.16.1 instance and open any workspace.
  4. The workspace window is 4.1. non-maximized --> Looks good 4.2. maximized --> BUG: Needless scrollbars 4.3. Full Screen (using the Workspace Control Panel) --> BUG: Needless scrollbars

Expected behavior No scrollbars ever because the workspace screen resolution should be adjusted instead.

Screenshots

image

image

Workspaces Version Version 1.16.1

Web UI 1.16.1.be60db

Workspaces Installation Method Single Server

Client Browser (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome 131

Workspace Server Information (please provide the output of the following commands):

  • uname -a
Linux kasm 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
  • sudo docker info
Client:
 Version:    26.1.3
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  v2.5.0
    Path:     /usr/local/lib/docker/cli-plugins/docker-compose

Server:
 Containers: 10
  Running: 10
  Paused: 0
  Stopped: 0
 Images: 23
 Server Version: 26.1.3
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan kasmweb/sidecar:1.1 macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 
 runc version: 
 init version: 
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.8.0-51-generic
 Operating System: Ubuntu 24.04.1 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 11.65GiB
 Name: kasm
 ID: b04fc4c2-6152-4f47-aa3d-99771c1cb09e
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false


  • sudo docker ps | grep kasm
CONTAINER ID   IMAGE                              COMMAND                  CREATED      STATUS                PORTS                                           NAMES
f76b4b4f1cf6   kasmweb/proxy:1.16.1               "/docker-entrypoint.…"   4 days ago   Up 4 days             80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp   kasm_proxy
9dba3bbedf97   kasmweb/rdp-https-gateway:1.16.1   "/opt/rdpgw/rdpgw"       4 days ago   Up 4 days (healthy)                                                   kasm_rdp_https_gateway
bf02e1333bbd   kasmweb/rdp-gateway:1.16.1         "/start.sh"              4 days ago   Up 4 days (healthy)   0.0.0.0:3389->3389/tcp, :::3389->3389/tcp       kasm_rdp_gateway
8668c39cd582   kasmweb/agent:1.16.1               "/bin/sh -c '/usr/bi…"   4 days ago   Up 4 days (healthy)   4444/tcp                                        kasm_agent
a8b1f1692038   kasmweb/share:1.16.1               "/bin/sh -c '/usr/bi…"   4 days ago   Up 4 days (healthy)   8182/tcp                                        kasm_share
849f3159ca95   kasmweb/api:1.16.1                 "/bin/sh -c '/usr/bi…"   4 days ago   Up 4 days (healthy)   8080/tcp                                        kasm_api
998b622618e8   kasmweb/manager:1.16.1             "/usr/bin/startup.sh…"   4 days ago   Up 4 days (healthy)   8181/tcp                                        kasm_manager
8a01b36a7e51   kasmweb/kasm-guac:1.16.1           "/dockerentrypoint.sh"   4 days ago   Up 4 days (healthy)                                                   kasm_guac
2addb868f920   redis:5-alpine                     "docker-entrypoint.s…"   4 days ago   Up 4 days             6379/tcp                                        kasm_redis
ea10b362d8af   postgres:14-alpine                 "docker-entrypoint.s…"   4 days ago   Up 4 days (healthy)   5432/tcp                                        kasm_db

nielsbasjes avatar Dec 22 '24 11:12 nielsbasjes