tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] Lag/inertia in appimage's scroll, not in binary's

Open OJFord opened this issue 2 years ago • 3 comments

Describe the bug

In cargo tauri dev, scrollable elements seem to behave 'normally'. So too in running target/release/appname directly.

In running target/release/bundle/appimage/appnameversionetc however, it seems to have a strange laggy/inertia-ridden behaviour, whereby it's very slow while scrolling, but then jumps when I stop.

Reproduction

  1. Create some scrollable view
  2. cargo tauri build --release
  3. Test target/release/app and target/release/bundle/appimage/appversionetc. and observe difference in scroll

Expected behavior

Same non-laggy scroll behaviour in the appimage.

Platform and versions

Environment
  › OS: Arch Linux Unknown X64
  › Node.js: 16.19.0
  › npm: 8.19.2
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.65.0
  › cargo: 1.65.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
  › @tauri-apps/cli [NPM]: 1.2.3
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.1.3,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.14.0,
  › wry [RUST]: 0.21.1,

App
  › build-type: bundle
  › CSP: default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  › distDir: ../dist
  › devPath: http://localhost:42411/
  › framework: Svelte
  › bundler: Vite

App directory structure
  ├─ dist
  ├─ src
  ├─ src-tauri
  └─ node_modules

Stack trace

No response

Additional context

Possibly related to tauri-apps/wry#268?

OJFord avatar Feb 05 '23 22:02 OJFord

This happens with modrinth's app too. Building from source in both debug and release modes fixes the laggy scrolling/animation issue.

Clarification: I'm on Linux, wayland gnome

monomere avatar Jun 16 '24 18:06 monomere

I always experience extremely laggy scrolling, even when using cargo tauri dev etc. I use Linux (Gentoo).

Norbiros avatar Jun 18 '24 16:06 Norbiros

That seems like a different issue then @Norbiros, this is about an unexpected difference in behaviour in the release bundle (and not even in the release binary).

OJFord avatar Jun 19 '24 09:06 OJFord

I believe I'm experiencing the same thing as Norbiros. I'm on Linux, Fedora 39.

Ynng avatar Sep 05 '24 07:09 Ynng

Fedora 41 Silverblue here. I built the app from source to double check and I only get lagginess from the AppImage.

kudos avatar Dec 14 '24 15:12 kudos