merge-main-ui-host-compatibility
Core regression / Python core and release configuration (push) Successful in 16s
Core regression / JavaScript syntax (push) Successful in 3s
Core regression / Python core and release configuration (pull_request) Successful in 16s
Core regression / JavaScript syntax (pull_request) Successful in 3s

This commit is contained in:
阿白叔 committed 2026-11-03 18:07:39 +08:00
commit 56588a9203
14 files changed
+621 -21

No files matched your search

@@ -37,9 +37,10 @@ class NativeHarnessView(QWidget):
def __init__(self, data_root: Path, parent=None):
super().__init__(parent)
# Give Chromium its own native composition boundary. Otherwise its
# texture compositor turns the shared Acrylic top-level surface opaque,
# even after this workspace is hidden again.
# Isolate Chromium's RHI surface in this child HWND. Otherwise showing
# WebEngine recreates the translucent task-center HWND as an opaque
# graphics surface and Acrylic stays white after the view is hidden.
self.setAttribute(Qt.WidgetAttribute.WA_DontCreateNativeAncestors)
self.setAttribute(Qt.WidgetAttribute.WA_NativeWindow)
self.setObjectName('dshNativeWorkspace')
self.setStyleSheet('QWidget#dshNativeWorkspace {background:white;}')