You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS WebGPU: Content changed while minimized is not shown after restore #25814
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) 🔬
Run an app on macOS with UNO_WEBGPU=1.
Minimize the window.
Change some text from a timer.
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