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

No window shadow on linux. #3705

Open
planetoryd opened this issue Dec 14, 2023 · 5 comments
Open

No window shadow on linux. #3705

planetoryd opened this issue Dec 14, 2023 · 5 comments
Labels
bug Something is broken

Comments

@planetoryd
Copy link

image

(app found in issues page)

I'm considering to use egui for my app (GPL) and that flaw is a no. Is it a feature or a bug.

It looks terribly out of place. I don't know how to enable native window frame if thats possible

6.6.5-arch1-1

@planetoryd planetoryd added the bug Something is broken label Dec 14, 2023
@planetoryd planetoryd changed the title No window frame on linux. No window shadow on linux. Dec 14, 2023
@lictex
Copy link
Contributor

lictex commented Dec 14, 2023

PolyMeilex/sctk-adwaita#43 was merged recently, providing window shadows support
but this is still not included in winit for now, so probably it won t be available until winit 0.30 (or later)

how to enable native window frame

...try to run with the x11 backend
note that wayland (or at least wayland on gnome) doesn t provide any native window frame. it relies on the client to draw shadows and frames themselves.

@planetoryd
Copy link
Author

Is there a development branch I can use or something ? I don't need stability it's full nightly and stuff

@lictex
Copy link
Contributor

lictex commented Dec 14, 2023

i dont think there is currently.. try forking and patching winit to upgrade sctk-adwaita to 0.8. (or open an issue in winit repo, this isn t directly related to egui anyway)
after that, #3649 might help

@planetoryd
Copy link
Author

nice, it works https://github.com/planetoryd/egui_node_graph

@Friz64
Copy link
Contributor

Friz64 commented Dec 16, 2023

but this is still not included in winit for now, so probably it won t be available until winit 0.30 (or later)

It should be possible to include it in a winit 0.29 patch release.

This egui issue can be closed, as this has nothing to do with egui.

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

No branches or pull requests

3 participants