From 25aed61641d519f970d274deb959e6d2195b4740 Mon Sep 17 00:00:00 2001 From: krasko <154632626+krasko78@users.noreply.github.com> Date: Tue, 7 Apr 2026 22:11:35 +0200 Subject: [PATCH] 32612: Do not make the main window transparent on startup anymore --- src/appshell/qml/MuseScore/AppShell/WindowContent.qml | 1 - src/framework/ui/internal/guiapplication.cpp | 10 ++-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/appshell/qml/MuseScore/AppShell/WindowContent.qml b/src/appshell/qml/MuseScore/AppShell/WindowContent.qml index 77f14a6323eba..72d23600e244f 100644 --- a/src/appshell/qml/MuseScore/AppShell/WindowContent.qml +++ b/src/appshell/qml/MuseScore/AppShell/WindowContent.qml @@ -43,7 +43,6 @@ DockWindow { onPageLoaded: { console.log("WindowContent::onPageLoaded") interactiveProvider.onPageOpened() - window.opacity = 1.0 } InteractiveProvider { diff --git a/src/framework/ui/internal/guiapplication.cpp b/src/framework/ui/internal/guiapplication.cpp index 2cde768032b73..56265ae18d6b2 100644 --- a/src/framework/ui/internal/guiapplication.cpp +++ b/src/framework/ui/internal/guiapplication.cpp @@ -175,15 +175,9 @@ bool GuiApplication::loadMainWindow(const muse::modularity::ContextPtr& ctxId) return false; } - // The main window must be shown at this point so KDDockWidgets can read its size correctly - // and scale all sizes properly. https://github.com/musescore/MuseScore/issues/21148 - // but before that, let's make the window transparent, - // otherwise the empty window frame will be visible - // https://github.com/musescore/MuseScore/issues/29630 - // Transparency will be removed after the page loads. - + //! The main window must be shown at this point so KDDockWidgets can read its size correctly + //! and scale all sizes properly. https://github.com/musescore/MuseScore/issues/21148 QQuickWindow* window = dynamic_cast(obj); - window->setOpacity(0.01); window->setVisible(true); m_windows[ctxId->id] = window;