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

Can't move or resize window on Gnome + Wayland #3314

Open
ndelobel opened this issue Dec 9, 2024 · 1 comment
Open

Can't move or resize window on Gnome + Wayland #3314

ndelobel opened this issue Dec 9, 2024 · 1 comment

Comments

@ndelobel
Copy link

ndelobel commented Dec 9, 2024

Problem

When using dioxus desktop 0.6.0 on Gnome + Wayland the window can't be resized or moved.

I think it's related to this tauri issue tauri-apps/tauri#10686

The only workaround I found for now is to set GDK_BACKEND=x11 to run the window with XWayland. The problem only concerns Gnome + Wayland and not KDE + Wayland.

Steps To Reproduce

  • be on Gnome + Wayland
  • here is my very simple code :
use dioxus::desktop::Config;
use dioxus::prelude::*;

fn main() {
    LaunchBuilder::desktop()
        .with_cfg(
            Config::new().with_menu(None), // remove the default menu
        )
        .launch(App)
}

#[component]
fn App() -> Element {
    rsx! {HelloWorld {}}
}

#[component]
fn HelloWorld() -> Element {
    rsx! {span {"Hello, World!"}}
}

Environment:

  • Dioxus version: 0.6.0
  • Rust version: 1.83.0
  • OS info: Arch Linux
  • App platform: desktop
@inferrna
Copy link

Same on Clear Linux after update from 0.6-alpha to 0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants