Repository navigation
Description
Current behavior 🐛
On Uno 6.7 (Skia Desktop, Win32) a window with a SystemBackdrop (MicaBackdrop / DesktopAcrylicBackdrop) and transparent page backgrounds leaves stale pixels after the content changes or the window is resized:
- navigating a
Framebetween pages leaves the previous pages' pixels on screen, so text from several pages overlaps; - several
NavigationViewItems look selected at once; - translucent card backgrounds (
CardBackgroundFillColorDefaultBrush) turn nearly white, because they are alpha-blended over their own previous frame again and again; - every window resize stacks one more copy of the layout on screen (also reported by a third party in 6.7 samples Uno.Samples#963).
With SystemBackdrop = null (opaque page background) it renders correctly.
This is already fixed on master (7.0), but 6.7 is the current stable and still has it. This issue is a request to backport a fix to release/stable/6.7.
Expected behavior 🎯
Each frame shows only the current content over the backdrop, as on WinUI and on 7.0.
How to reproduce it (as minimally and precisely as possible) 🔬
- Create an Uno app with Uno.Sdk 6.7.x, Skia renderer,
net10.0-desktop, and run it on Windows 11 in Release. - In
MainWindowset the backdrop and make the content transparent:
public MainWindow()
{
InitializeComponent();
SystemBackdrop = new MicaBackdrop();
}<!-- MainWindow.xaml: a NavigationView hosting a Frame, with a few pages that have
text and a card (Border with {ThemeResource CardBackgroundFillColorDefaultBrush}).
Pages use Background="Transparent". -->- Click between the navigation items (or just resize the window).
- Observe ghosted text from earlier pages, multiple selected-looking items, and cards getting lighter with each navigation.
- Set
SystemBackdrop = nulland repeat: the rendering is clean.
On 7.0.0-dev.1429 the same app renders cleanly.
Workaround 🛠️
None found short of dropping the backdrop or using an opaque page background.
Renderer 🎨
- Skia
Affected platforms 📱💻🖥️
Desktop (Windows). On macOS the similar ghosting in #24495 is a separate blend-mode bug in the shared RetainedLayer blit, fixed by #24546.
Uno.Sdk version (and other relevant versions) 📦
Broken: Uno.Sdk 6.7.30 (and current release/stable/6.7, see below), .NET SDK 10.0.401. Works: 7.0.0-dev.1429.
IDE version 🧑💻
N/A (command line)
Anything else we need to know? 💬
Why master is not affected. On 6.7 the Win32 OpenGL renderer composes the frame into a retained SKSurface layer and then draws it onto the swapchain with a null paint, which is SrcOver (Win32WindowWrapper.Rendering.OpenGl.cs#L229-L233):
layer.Draw(swapchain.Canvas, 0, 0, null);With a backdrop the swapchain is transparent, so any non-opaque pixel in the layer is blended over what the previous frame left behind instead of replacing it. This is the same bug as the one fixed for the other RetainedLayer heads by #24546 (open on master); Win32 OpenGL has its own inline copy of that blit that PR does not cover, so #24546 alone would not fix this.
On master the Win32 hosts were reworked by #24153 (feat!: pluggable drawing backend abstraction). Frame retention now lives in the host (a5699a723e8, a retained FBO blitted to the default framebuffer at present), and cccb75b41c3 makes the frame clear use the window background again. That rework is a breaking change and not a backport candidate.
Related, not the same. The 6.7 backport of the SystemBackdrop work (#24810, backport of #24190) is open. It fixes how backdrops and backgrounds are applied, but its description doesn't touch the damage-layer blit above, so I don't expect it to resolve this.
Suggested 6.7 fix. Make the CopyPixels blit replace the destination instead of blending (a paint with BlendMode = SKBlendMode.Src), as #24546 does for RetainedLayer.
How this was verified. The ghosting was reproduced at runtime on 6.7.30, and the same app is clean on 7.0.0-dev.1429. For release/stable/6.7 HEAD () the confirmation is by code inspection: the blit is unchanged. The SrcOver blit as the cause is my reading of the code, not something I have confirmed by changing it. No existing backport PR targets release/stable/6.7 for this.
Activity
MartinZikmund commentedon Oct 14, 2026
Details from duplicate #25366 that are not in this issue yet:
Uno.UI.FeatureConfiguration.Rendering.UseOpenGLOnWin32 = falsebefore building the host. The Software renderer renders correctly.servicing/6.8(code inspection), not just 6.7.net10.0-desktop: a Window withSystemBackdrop = new MicaBackdrop()and a Canvas holding a 200x200 Rectangle with Fill#80FF0000, Visibility toggled every 1.5 s by a DispatcherTimer.#F20202->#F90101->#FC0000->#FE0000and never reverts when collapsed.#930F0Dwhile visible,#261E1A(Mica) when collapsed.Win32GraphicsContextcopies its retained buffer with a framebuffer blit (no blending).