Skip to content

Commit 25aed61

Browse files
committed
32612: Do not make the main window transparent on startup anymore
1 parent 6f59207 commit 25aed61

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/appshell/qml/MuseScore/AppShell/WindowContent.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ DockWindow {
4343
onPageLoaded: {
4444
console.log("WindowContent::onPageLoaded")
4545
interactiveProvider.onPageOpened()
46-
window.opacity = 1.0
4746
}
4847

4948
InteractiveProvider {

src/framework/ui/internal/guiapplication.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,9 @@ bool GuiApplication::loadMainWindow(const muse::modularity::ContextPtr& ctxId)
175175
return false;
176176
}
177177

178-
// The main window must be shown at this point so KDDockWidgets can read its size correctly
179-
// and scale all sizes properly. https://github.com/musescore/MuseScore/issues/21148
180-
// but before that, let's make the window transparent,
181-
// otherwise the empty window frame will be visible
182-
// https://github.com/musescore/MuseScore/issues/29630
183-
// Transparency will be removed after the page loads.
184-
178+
//! The main window must be shown at this point so KDDockWidgets can read its size correctly
179+
//! and scale all sizes properly. https://github.com/musescore/MuseScore/issues/21148
185180
QQuickWindow* window = dynamic_cast<QQuickWindow*>(obj);
186-
window->setOpacity(0.01);
187181
window->setVisible(true);
188182

189183
m_windows[ctxId->id] = window;

0 commit comments

Comments
 (0)