You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When displaying a window with shadows on and decorations off, the inner size of the window is slightly smaller than it needs to be, creating a black or white border on the bottom and right. See the following examples (you may have to look closely, lol):
No shadows, no decorations (fine)
Shadows, decorations (fine)
Shadows, no decorations (bugged)
Something I believe is related: when "Show the accent color on the following surfaces -> Title bars and window borders" is enabled (which I have set in the above screenshots, the problem persists even with the setting disabled), only the top and left borders show said color. This was partially fixed in tauri-apps/tao#997 so that too may have something to do with it.
(Set Google to dark mode to be able to see the right/bottom better)
Expected behavior
The black/white color on the right and bottom should not be there, and the accent color border should wrap all the way around all four sides (when enabled).
SpikeHD
changed the title
[bug] Slightly incorrect inner window size when using window shadows + decorations disabbled on Windows
[bug] Slightly incorrect inner window size when using window shadows + decorations disabled on Windows
Jan 7, 2025
Something I believe is related: when "Show the accent color on the following surfaces -> Title bars and window borders" is enabled (which I have set in the above screenshots, the problem persists even with the setting disabled), only the top and left borders show said color.
Describe the bug
When displaying a window with shadows on and decorations off, the inner size of the window is slightly smaller than it needs to be, creating a black or white border on the bottom and right. See the following examples (you may have to look closely, lol):
Something I believe is related: when "Show the accent color on the following surfaces -> Title bars and window borders" is enabled (which I have set in the above screenshots, the problem persists even with the setting disabled), only the top and left borders show said color. This was partially fixed in tauri-apps/tao#997 so that too may have something to do with it.
Reproduction
(Set Google to dark mode to be able to see the right/bottom better)
Expected behavior
The black/white color on the right and bottom should not be there, and the accent color border should wrap all the way around all four sides (when enabled).
Full
tauri info
outputStack trace
Additional context
SpikeHD/Dorion#268
The text was updated successfully, but these errors were encountered: