tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] Many tauri app start Xwayland even if they don't use it

Open BirdInFire opened this issue 3 years ago • 1 comments

Describe the bug

When i start some tauri app Xwayland is launched even it's not used, and it's drawing battery.

Reproduction

Start tauri app Try to mitigate by blocking flatpak X11 access Tauri app do not run anymore

Expected behavior

Taury app start since it work on wayland

Platform and versions

Report it myself since it's a bug on many tauri app (one is cinny).

See their issue : https://github.com/cinnyapp/cinny/issues/582

Stack trace

No response

Additional context

No response

BirdInFire avatar Jul 09 '22 18:07 BirdInFire

Right now X11 is being used and a dependency for Tauri. Using Xwayland is expected to work (with exception of global shortcuts), but wayland-only will not work until the sections needing X11have been rewritten.

That said, I daily drive a Wayland desktop so it's also on my wishlist to look into this.

Beanow avatar Jul 11 '22 10:07 Beanow

This has been fixed in https://github.com/tauri-apps/tao/commit/27ab6f4dcef19c052b0434873e34b54447b70860

amrbashir avatar Sep 30 '22 15:09 amrbashir