Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghost opened this issue Jul 9, 2022 · 2 comments
Closed

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

ghost opened this issue Jul 9, 2022 · 2 comments
Labels
platform: Linux status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@ghost
Copy link

ghost commented Jul 9, 2022

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 : cinnyapp/cinny#582

Stack trace

No response

Additional context

No response

@ghost ghost added status: needs triage This issue needs to triage, applied to new issues type: bug labels Jul 9, 2022
@Beanow
Copy link
Member

Beanow commented Jul 11, 2022

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.

@amrbashir
Copy link
Member

This has been fixed in tauri-apps/tao@27ab6f4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Linux status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants