-
Notifications
You must be signed in to change notification settings - Fork 12
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 decorations on linux (wayland) #276
Comments
by default, desktop applications dont have a window frame. To add it, use . See https://github.com/holepunchto/pear/blob/main/examples/desktop/index.html#L80, and notice https://github.com/holepunchto/pear/blob/main/examples/desktop/index.html#L55-L76 |
Thanks! That worked. Having native controls would be nicer if possible at all Feel free to close if not planned |
I'm running into a problem when using the When dragging the window around, the window width and height fluctuate by 1 pixel (can be seen when devtools are open). This is barely noticeable, but after manually changing the size of the window the whole app window starts to glitch out while dragging the window around. I can provide a video if you are unable to replicate it |
Happens with keet as well |
@d61b292b-2859-4ed6-8c7c-b7397ad8e351 I tried to replicate on Ubuntu 22 but I could not. Could you please provide the video? It Would be very helpful to identify the problem. Thanks! |
Pear desktop apps start without window decorations (minimize/close buttons).
Preliminary research suggests that electron/chromium possibly do not support this at the moment on wayland.
Vscode (which I believe is an electron app) does launch with window decorations. So maybe setting some additional options could fix this.
The text was updated successfully, but these errors were encountered: