Skip to content

fix(windows): remove transparent window and vibrancy effects on Windows#60

Draft
Charlo-O wants to merge 3 commits into
RealZST:mainfrom
Charlo-O:main
Draft

fix(windows): remove transparent window and vibrancy effects on Windows#60
Charlo-O wants to merge 3 commits into
RealZST:mainfrom
Charlo-O:main

Conversation

@Charlo-O
Copy link
Copy Markdown

Remove ransparent: true and windowEffects from tauri.conf.json to
prevent CMD window popups when moving/resizing the app on Windows.
These settings are macOS-only (NSVisualEffectView) and cause rendering
issues on Windows that trigger console window flashes.

Also add data-platform=windows detection in App.tsx and set a solid
background color via CSS for Windows instead of transparent.

Charlo-O and others added 3 commits May 15, 2026 21:57
Remove 	ransparent: true and windowEffects from tauri.conf.json to
prevent CMD window popups when moving/resizing the app on Windows.
These settings are macOS-only (NSVisualEffectView) and cause rendering
issues on Windows that trigger console window flashes.

Also add data-platform=windows detection in App.tsx and set a solid
background color via CSS for Windows instead of transparent.
Add CREATE_NO_WINDOW flag (0x08000000) to all Command::new() calls on
Windows via a silent_command() helper. This prevents CMD window flashes
when the app runs where.exe (CLI detection), git (updates/install),
or �inary --version (version detection) in the background.
fix(windows): prevent CMD window popups on move and child process spawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant