fix: seamless fullscreen transition for custom and native window decorations - #15
Open
SubmitCodes wants to merge 2 commits into
Open
fix: seamless fullscreen transition for custom and native window decorations#15SubmitCodes wants to merge 2 commits into
SubmitCodes wants to merge 2 commits into
Conversation
- quirk: when maximized windows leaves taskbar area buggy or smt
SubmitCodes
force-pushed
the
fix/fullscreen-tauri
branch
from
August 16, 2026 16:58
5a71360 to
5b8e5c1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5
Summary
Fixes the fullscreen transition issues on Windows when toggling fullscreen from a maximized state with custom (frameless) window decorations.
Problem
decorations: false), toggling fullscreen while the window was maximized caused the window bounds to be clamped to the Windows work area, leaving a gap/bar over the taskbar at the bottom.requestFullscreen()or chainingunmaximize() -> setFullscreen(true)in JavaScript sent back-to-back resize events and triggered Windows DWM restore animations, causing the window to visibly jump, shrink, and drop frames.Changes
set_fullscreen,toggle_fullscreen, andis_fullscreencommands in Tauri Rust backend (commands.rs).WS_MAXIMIZEin memory and resizes directly to full monitor bounds in one single frame viaSetWindowPos, eliminating double-resizes and DWM warping.nativeDecorationsis enabled by bypassing custom logic and calling native fullscreen directly.useFullscreen.ts): Manages a shared reactiveisFullscreenref acrossshell.vue,bubble-nav.vue, andindex.vue, with fallback to@vueuse/coreon web.Verification