Repository navigation
fix: disable window transparency on Linux to fix Wayland blank window - #26
Merged
Merged
Conversation
WebKitGTK's alpha-compositing path is unreliable on Wayland; with the main window's transparent:true config, the entire window (not just its background) can render invisible. The transparency is purely cosmetic (#app paints its own opaque background for rounded corners), so a Linux-only platform config override disables it with no functional loss. Fixes #14
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.
Summary
transparent: true, and the whole main window (not just its background) can render invisible — matching Fedora Support #14's "the app is transparent, people can see nothing".ui/src/style.cssmakeshtml/bodytransparent so only the#apppanel (opaque--bg+ rounded corners) shows as a floating panel — so disabling it on Linux only loses the rounded corners, no functional change.swift-shifter/tauri.linux.conf.json, a Tauri v2 platform-specific config override that's auto-merged only for Linux builds, settingtransparent: falsefor the main window. The full window block is repeated because Tauri's config merge uses JSON Merge Patch semantics (array values replace wholesale, not per-field).Fixes #14
Test plan
cargo buildpasses🤖 Generated with Claude Code
https://claude.ai/code/session_01QdmQoVRcLg1cENuiLte5Ke