Skip to content

macOS WebGPU: Content changed while minimized is not shown after restore #25814

Closed

Description

@ramezgerges

Current behavior 🐛

On macOS with the WebGPU renderer, if a window's content changes while the window is minimized, restoring the window shows the content from before it was minimized. The new content appears only after the next change in the UI.

While the window is hidden, wgpu reports the surface as Occluded and presents nothing. The swap chain treated that as a successful present, so the macOS render thread never retried the frame, and nothing asks for one when the window is restored.

Expected behavior 🎯

The restored window shows the current content.

How to reproduce it (as minimally and precisely as possible) 🔬

  1. Run an app on macOS with UNO_WEBGPU=1.
  2. Minimize the window.
  3. Change some text from a timer.
  4. Restore the window: it still shows the old text.

Given_CompositionTarget.When_Content_Changes_While_Minimized_Then_Restore_Presents_It reproduces it.

Workaround 🛠️

Trigger any UI change after restoring the window.

Affected platforms 📱💻🖥️

Skia (macOS)

Uno.Sdk version (and other relevant versions) 📦

master (7.0 dev), WebGPU renderer

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

Raised in the review of #25664. Skia-on-Metal is not affected: it presents into the minimized window's layer, which keeps that content.

Activity

  1. added
    kind/bug
    area/skia ✏️
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/skia ✏️kind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions