egui icon indicating copy to clipboard operation
egui copied to clipboard

No window shadow on linux.

Open ple1n opened this issue 2 years ago • 5 comments

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

ple1n avatar Dec 14 '23 10:12 ple1n

https://github.com/PolyMeilex/sctk-adwaita/pull/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.

lictex avatar Dec 14 '23 12:12 lictex

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

ple1n avatar Dec 14 '23 12:12 ple1n

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, https://github.com/emilk/egui/pull/3649 might help

lictex avatar Dec 14 '23 12:12 lictex

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

ple1n avatar Dec 14 '23 16:12 ple1n

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.

Friz64 avatar Dec 16 '23 04:12 Friz64