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

Wayland support #8

Open
2 of 3 tasks
Exidex opened this issue Mar 16, 2024 · 6 comments
Open
2 of 3 tasks

Wayland support #8

Exidex opened this issue Mar 16, 2024 · 6 comments
Labels
kind: umbrella Issue lists various things to do state: waiting-for-upstream Issue or PR is blocked by some external cause type: feature Issue or PR related to new feature work: clear Describes the kind of work involved, using the Cynefin framework. Represents the "known knowns"

Comments

@Exidex
Copy link
Member

Exidex commented Mar 16, 2024

@rawkode
Copy link

rawkode commented Jul 24, 2024

I assume we can't run on Wayland yet?

I couldn't work out if this issue was for improving Wayland support or initial?

I tried building and it didn't work, so I'm assuming initial.

@Exidex
Copy link
Member Author

Exidex commented Jul 24, 2024

It is initial implementation, yes. But I would have expected it to build and run, just with bugs around not being able to hide window and global shortcuts not working.

Can you share what error do you get?

Seeing as there is an interest I will work on this next.

@rawkode
Copy link

rawkode commented Jul 24, 2024

Server:

> ./target/debug/gauntlet                                                                               07/24/2024 01:55:04 PM
thread 'main' panicked at /home/rawkode/.cargo/git/checkouts/iced-c40b75062712b7cd/e5d0cfe/winit/src/application.rs:130:10:
Create event loop: Os(OsError { line: 80, file: "/home/rawkode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.15/src/platform_impl/linux/wayland/event_loop/mod.rs", error: WaylandError(Connection(NoWaylandLib)) })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

UI fails, I'm assuming because no server.

./target/debug/gauntlet open                                                                          07/24/2024 01:51:37 PM
thread 'main' panicked at rust/client/src/lib.rs:28:10:
called `Result::unwrap()` on an `Err` value: transport error

Caused by:
    0: error trying to connect: tcp connect error: Connection refused (os error 111)
    1: tcp connect error: Connection refused (os error 111)
    2: Connection refused (os error 111)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
>                                                                                                       07/24/2024 01:51:37 PM

Is there a dependency on LayerShell?

@Exidex
Copy link
Member Author

Exidex commented Jul 24, 2024

Thank you, I will look into it.

Is there a dependency on LayerShell?

Not currently, but there will be once it is implemented because without it there is no way to hide and position window in Wayland currently

@rawkode
Copy link

rawkode commented Jul 24, 2024

This is my problem:

iced-rs/iced#2385

@Exidex
Copy link
Member Author

Exidex commented Jul 29, 2024

Wayland support is available on main branch (and in v6). At the moment without global shortcut support, please use gauntlet open

@Exidex Exidex added kind: umbrella Issue lists various things to do type: feature Issue or PR related to new feature work: clear Describes the kind of work involved, using the Cynefin framework. Represents the "known knowns" state: waiting-for-upstream Issue or PR is blocked by some external cause labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: umbrella Issue lists various things to do state: waiting-for-upstream Issue or PR is blocked by some external cause type: feature Issue or PR related to new feature work: clear Describes the kind of work involved, using the Cynefin framework. Represents the "known knowns"
Projects
None yet
Development

No branches or pull requests

2 participants