Closed 7086cmd closed 2 years ago
That's expected, radius is part of the decorations and removing decorations will remove radius, border, shadows etc. If you want rounded corners on Win11, use https://github.com/tauri-apps/window-shadows which will make your window has shadows on win <= 11 and rounded on Win11 while still removing the titlebar
The same problem exists under Mac
@WuYunlong If you wanna keep the native window controls (the colored buttons), see this issue: https://github.com/tauri-apps/tauri/issues/2663#issuecomment-1123208310
For actually undecorated windows it's a little tricky. There was a PR to window-vibrancy which added this and there was someone on the discord i think, trying to make it a standalone crate, but it didn't work iirc, like it just crashed the app or something.
Same needs.
The same goes for the mac.
Describe the bug
This is the frame without
decorations
, and it have no animation, radius border, and shadow. This is the frame thatdecorations
sets totrue
, and it directly shows the frame, shadow, border, and radius.Reproduction
decorations: false
to the config part of the windowExpected behavior
Provide a
titlebar
options, in order to hide titlebar, while usedecorations
to hide them all; Or letdecorations
just hide title bar, and create a optionstransparent
to hide them all.Platform and versions
Stack trace
No response
Additional context
No response