fix(linux): use solid surfaces for windows#606
Merged
H-Chris233 merged 1 commit intoJun 6, 2026
Conversation
Disable Linux transparent windows for main, capsule, and QA so WebKitGTK compositing no longer controls frosted-glass visuals. Remove the no-compositing frontend fallback command and route Linux shell surfaces through opaque surface styling while preserving the existing compositing environment workaround.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
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.
User description
Summary
var(--ol-surface)styling while preserving macOS/Windows glass behavior.is_no_compositing_modefrontend fallback command and CSS path.Test Plan
git diff --checkgit diff --cached --checknode -e "const fs=require('fs'); const cfg=JSON.parse(fs.readFileSync('openless-all/app/src-tauri/tauri.linux.conf.json','utf8')); for (const w of cfg.app.windows) { if (w.transparent !== false) throw new Error(w.label + ' transparent is not false'); } console.log('linux windows transparent=false:', cfg.app.windows.map(w=>w.label).join(', '));"npm --prefix "openless-all/app" run buildcargo check --manifest-path "openless-all/app/src-tauri/Cargo.toml"Refs #553
Note: Linux GUI visual verification is still needed for the original hover/refresh symptom.
PR Type
Bug fix
Description
Use opaque surfaces for Linux windows
Remove no-compositing frontend fallback
Add platform-specific CSS for solid backgrounds
Fix frosted glass flicker on hover/resize
Diagram Walkthrough
File Walkthrough
3 files
Remove is_no_compositing_mode commandUnregister is_no_compositing_mode commandRemove is_no_compositing_mode invocation2 files
Update comment for Linux solid surfaceUpdate comment for Linux platform4 files
Use opaque background on LinuxUse solid surface on LinuxAdd platform detection for CSS targetingAdd Linux-specific solid background rules1 files
Disable transparent windows on Linux