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

Transparency does not work on wayland #41

Open
vincens2005 opened this issue Jan 9, 2022 · 10 comments
Open

Transparency does not work on wayland #41

vincens2005 opened this issue Jan 9, 2022 · 10 comments
Labels
blocked Cannot be fixed yet because it depends on external changes bug Something isn't working

Comments

@vincens2005
Copy link

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):

  • Window manager: KWin on KDE
@vincens2005 vincens2005 added the bug Something isn't working label Jan 9, 2022
@oknozor
Copy link
Collaborator

oknozor commented Jan 9, 2022

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
Copy link

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

@oknozor
Copy link
Collaborator

oknozor commented May 26, 2022

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

@Nimmidev
Copy link

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
Copy link
Collaborator

oknozor commented May 26, 2022

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

@Nimmidev
Copy link

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

@oknozor oknozor changed the title Onagre renders inside black window Transparency does not work on wayland May 31, 2022
@oknozor oknozor pinned this issue May 31, 2022
@oknozor oknozor added the blocked Cannot be fixed yet because it depends on external changes label May 31, 2022
@MostHated
Copy link

MostHated commented Aug 13, 2022

** 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
Copy link

DashieTM commented Mar 1, 2023

gfx-rs/wgpu#687 is implemented, I assume the blocked tag can now be removed.

@Palladinium
Copy link

It looks like the blocking has moved down the dependency chain from wgpu to iced: iced-rs/iced#2087

@nerdachse
Copy link

nerdachse commented Feb 16, 2024

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: #79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Cannot be fixed yet because it depends on external changes bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants