hydra icon indicating copy to clipboard operation
hydra copied to clipboard

[REQUEST] wayland support

Open polluxau opened this issue 9 months ago • 5 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. app is running under x11, it has some issues when using it through xwayland sometimes like freezing, not a big deal

Describe the solution you'd like A clear and concise description of what you want to happen.

in the future if you could work on adding wayland support that would be awesome as the major desktops are moving to wayland or already have like kde plasma, gnome and new desktops like cosmic by system76 will be wayland only

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

great app :) and thank you for linux suppport, appreciate it

polluxau avatar May 10 '24 10:05 polluxau

My launcher launches natively under Wayland (I can see this through hyprctl activewindow), but after a few seconds the application crashes with the error [262142:0510/130741.335503:ERROR:wayland_event_watcher.cc(68)] Fatal Wayland communication error: Connection reset by peer. I don't know what the reason is :(

Edit: There may be a problem with the window manager I'm using

shvedes avatar May 10 '24 11:05 shvedes

My launcher launches natively under Wayland (I can see this through hyprctl activewindow), but after a few seconds the application crashes with the error [262142:0510/130741.335503:ERROR:wayland_event_watcher.cc(68)] Fatal Wayland communication error: Connection reset by peer. I don't know what the reason is :(

Edit: There may be a problem with the window manager I'm using

For me it might be because im using the aur version and maybe the person who maintains it made it so it uses x11/xwayland because of the problems that occur on wayland, im using kde plasma 6.0.4 wayland

I'll test the native package

Edit: Its still using x11 on the .zip i grabbed from the release

Screenshot_20240510_211943

polluxau avatar May 10 '24 11:05 polluxau

maybe the person who maintains it made it so it uses x11/xwayland because of the problems that occur on wayland

Installed from AUR as well. Looks like it's an environment variable issue.

Also, surprisingly, the application itself began to work without crashes, but still with strong lags (electron problem, I think, as usual) with high CPU load. With a constant load on one core, this application warms up my 5800x from 30 degrees to almost 70

shvedes avatar May 10 '24 11:05 shvedes

maybe the person who maintains it made it so it uses x11/xwayland because of the problems that occur on wayland

Installed from AUR as well. Looks like it's an environment variable issue.

Also, surprisingly, the application itself began to work without crashes, but still with strong lags (electron problem, I think, as usual) with high CPU load. With a constant load on one core, this application warms up my 5800x from 30 degrees to almost 70

Yikes lol, well electron things :>

If this is using a newish version of electron like 29 or 30 then using wayland shouldn't be that big of a problem, i force wayland on discord and it has no issues but there seems to be some problems so guess not for now, its whatever, the app is working properly and that's all that matters for me atleast

polluxau avatar May 10 '24 11:05 polluxau

If this is using a newish version of electron like 29 or 30 then using wayland shouldn't be that big of a problem,

As far as I know, Electron supports Wayland since version 12, but to enable support, you need to use launch parameters (or configuration files). For version 28 and higher, environment variables are required

shvedes avatar May 10 '24 11:05 shvedes