Skip to content

fix(desktop): stabilize Linux Wayland transparency and overlays - #670

Merged
Railly merged 3 commits into
mainfrom
pr614-rebased
Aug 8, 2026
Merged

fix(desktop): stabilize Linux Wayland transparency and overlays#670
Railly merged 3 commits into
mainfrom
pr614-rebased

Conversation

@Railly

@Railly Railly commented Aug 8, 2026

Copy link
Copy Markdown
Member

Rebase of #614 onto current main. All the code is ThermalEng's work; this branch exists because #614 is opened from its fork's main, so rebasing it in place would rewrite that branch.

Supersedes #614. Credit stays with ThermalEng via Co-authored-by.

Conflicts resolved

Three in main.zig, each kept whatever landed after that branch was written:

Testing

  • native test: 108/108 passed against the pinned SDK (c0b10d02).
  • SDK pins agree: both workflows still on c0b10d02.
  • The diff touches no files under src/, so nothing from feat(gallery): surface sprite atlas versions #658 is reverted.
  • The Linux build is not verifiable locally (cross-compile needs gtk4 on the host); CI covers it.

ThermalEng and others added 2 commits August 3, 2026 10:02
Rebase of #614 onto main, with the three main.zig conflicts resolved in
favor of what landed after that branch was written:

- gpu_alpha_mode stays premultiplied on every platform. #662 changed it
  from opaque on purpose to kill the visible rectangle behind the
  transparent window, and locked it with a test. The linux software
  backend from this branch is preserved.
- syncBubbleWindow keeps the mutable model from #667, so the flip is
  decided where it is consumed, with the linux popup early-return on top.
- the non-linux bubble descriptor keeps bubbleWantY and
  fullscreen_overlay from #667 and #656; this branch still carried the
  pre-#667 geometry, which would have reverted both.

Original work by ThermalEng in #614. Opened as a new branch because the
source branch is the fork's main.

Co-authored-by: ThermalEng <38897886+ThermalEng@users.noreply.github.com>
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
petdex Ignored Ignored Preview Aug 8, 2026 9:47pm

The transparency test asserted an opaque settings window on every
platform. That holds on AppKit and Win32, where the pet window owns its
transparency and settings paints its own page background. Linux presents
every surface through one alpha-zero GTK clear, so settings is
transparent there too and the assertion failed on that runner only.

Co-authored-by: ThermalEng <38897886+ThermalEng@users.noreply.github.com>
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.

2 participants