linuxserver / docker-webtop

Ubuntu, Alpine, Arch, and Fedora based Webtop images, Linux in a web browser supporting popular desktop environments.
GNU General Public License v3.0
1.88k stars 185 forks source link

[BUG] mouse scroll issues #260

Open Chubukov-Aleksey opened 4 weeks ago

Chubukov-Aleksey commented 4 weeks ago

Is there an existing issue for this?

Current Behavior

During usage of webtop with mouse, I have observed that mouse scroll was too big and KDE settings was unable to change anything about scrolling.

When attempt to scroll once, webtop actually does two or more scrolls. This is affecting apps that use scrolling as stepping navigation, like image viewer Ristretto and Telegram media viewer window, and possibly more. xev tool shows that there are multiple scroll events instead of one. Reproducible in Firefox 130.0 and Google Chrome 128.0.6613.119 (Official Build) (64-bit)

Also noticed that frequently down and up scrolling directions are unequal in scroll length. Scrolling down and up once shows that content position doesn't return to the same position. Reproducible in Firefox 130.0 and rarely in Google Chrome 128.0.6613.119 (Official Build) (64-bit)

Expected Behavior

Scrolling is done once and is the same distance for all directions.

Steps To Reproduce

  1. Spawn container with command
  2. Open webtop URL
  3. Download a lot of images in one directory (20 is good to see this issue reproduction)
  4. Open any of the images with Ristretto and open sidebar with image sequence previews
  5. Scroll with mouse and note that images are scrolled multiple times for one mouse scroll

Environment

System:
- Kernel: 6.10.7-200.fc40.x86_64 
- Desktop: KDE Plasma v6.1.4 
- Distro: Fedora Linux 40 (KDE Plasma)

---
Browsers:
- Firefox 130.0 
- Google Chrome 128.0.6613.119 (Official Build) (64-bit)

rpm -qf $(whence podman)
podman-5.2.2-1.fc40.x86_64

CPU architecture

x86-64

Docker creation

podman run -d \
  --name=webtop \
  --replace \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e SUBFOLDER=/ `#optional` \
  -e TITLE=Webtop `#optional` \
  -p 3000:3000 \
  -p 3001:3001 \
  -v ${HOME}/.local/share/webtop:/config:z \
  --device /dev/dri:/dev/dri `#optional` \
  --shm-size="1gb" `#optional` \
  --restart unless-stopped \
  lscr.io/linuxserver/webtop:latest

Container logs

podman logs webtop  
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
[ls.io-init] done.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Aug 31 2024 18:45:39
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

19
github-actions[bot] commented 4 weeks ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.