Closed Quackdoc closed 2 years ago
Are you on Wayland?
That is correct
That might have to do with winit, the windowing library i'm using, which is known to have buggy support for Wayland.
As a workaround, you can force it to use XWayland by setting the environment variable:
WINIT_UNIX_BACKEND=x11
https://wiki.archlinux.org/title/Wayland#GUI_libraries https://github.com/rust-windowing/winit/issues/305
Actually, It turns out the window does open, I had the same issue doing what you said, it turns out it is opening a window that is 3x8 pixels on a 4k display, it happens in x11 too. when I close and open the app same thing
I've changed the issue to better reflect what is happening
Alacritty is affected by the same problem so it's either a winit or plasma issue. I started running into it after a recent plasma update. You can work around it by right-clicking the application in the panel and choosing Resize, then just move the cursor until you have a usable size and click to finish resizing.
Other than that the Wayland backend has worked fine for me so far.
This has been worked around in Plasma 2.23.4. A proper fix is already in winit 0.26.0, but the PR to use that in egui (emilk/egui#930) has not landed yet at the time of writing.
I have updated to egui 0.16.0 which includes this fix
only tested briefly but it works fine for me
Running from terminal crashes the terminal, running from gdb shows that the app is running. but no window is visible.
EDIT: Window is extremely small when it opens