onagre-launcher / onagre

A general purpose application launcher for X and wayland inspired by rofi/wofi and alfred
MIT License
511 stars 27 forks source link

Transparency does not work on wayland #41

Open vincens2005 opened 2 years ago

vincens2005 commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

Config This happened no matter the theme, and I used default (empty) config.

To Reproduce Install onagre on KDE and run it

Expected behavior I expected the window to be transparent and borderless like in the screenshots

Screenshots unknown

Window manager (please complete the following information):

oknozor commented 2 years ago

Hello @vincens2005, thanks for the report.

Seems KWin render onagre in a default container. I have never tried KWin, i'll install it and see if there is a work around. I will let you know how it goes.

Nimmidev commented 2 years ago

@oknozor I don't know if this helps but the same problem also occurs when using sway.

oknozor commented 2 years ago

@Nimmidev I don't have this issue on sway, can you provide a screenshot ?

Nimmidev commented 2 years ago

Sure.

onagre 1.0.0-alpha.0 sway 1.7 wlroots 0.15.1-5 Linux archlinux 5.17.9-arch1-1

20220526_23h07m32s_grim

oknozor commented 2 years ago

Unfortunately we gonna have to wait for https://github.com/gfx-rs/wgpu/issues/687 to be implemented before transparency works on wayland, meanwhile you need to remove border-radius from your config.

Nimmidev commented 2 years ago

Good to know its not an issue with onagre itself. Gonna use the workaround in the meanwhile. Thanks.

MostHated commented 1 year ago

** Edit: Just to test, I ran the following and everything seemed to work as it should while having working transparency. While not ideal, it works. I know there are a few other env vars that are often used, and I am not sure what circumstances each should be used, I just happened to have tried this particular one.

env XINIT_UNIX_BACKEND=x11 onagre

I just ran into this on Pop_OS as well. Commenting so I can keep track of any happenings in the future around this.

DashieTM commented 1 year ago

https://github.com/gfx-rs/wgpu/issues/687 is implemented, I assume the blocked tag can now be removed.

Palladinium commented 6 months ago

It looks like the blocking has moved down the dependency chain from wgpu to iced: https://github.com/iced-rs/iced/issues/2087

nerdachse commented 4 months ago

Iced 0.12 should be able to do that now. Not sure how much work it is to upgrade though.

Had a stub at it here: https://github.com/onagre-launcher/onagre/pull/79