Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package musescore for openSUSE:Factory 
checked in at 2023-04-28 16:24:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/musescore (Old)
 and      /work/SRC/openSUSE:Factory/.musescore.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "musescore"

Fri Apr 28 16:24:44 2023 rev:34 rq:1083503 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/musescore/musescore.changes      2023-03-16 
23:00:01.527953820 +0100
+++ /work/SRC/openSUSE:Factory/.musescore.new.1533/musescore.changes    
2023-04-28 16:26:00.170932872 +0200
@@ -1,0 +2,5 @@
+Fri Apr 28 08:39:34 UTC 2023 - Cor Blom <[email protected]>
+
+- Add fix-for-latest-qt-declarative.patch to fix boo#1210932
+
+-------------------------------------------------------------------

New:
----
  fix-for-latest-qt-declarative.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ musescore.spec ++++++
--- /var/tmp/diff_new_pack.jEhPdv/_old  2023-04-28 16:26:01.762942165 +0200
+++ /var/tmp/diff_new_pack.jEhPdv/_new  2023-04-28 16:26:01.766942188 +0200
@@ -67,6 +67,8 @@
 Patch1:         0dde64eef84.patch
 # PATCH-FIX-UPSTREAM: make compiler happy by adding returns
 Patch2:         musescore-4.0.2-return.patch
+# PATCH-FIX-UPSTREAM: change in qt-declaratives breaks musescore
+Patch3:         fix-for-latest-qt-declarative.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++


++++++ fix-for-latest-qt-declarative.patch ++++++
>From c747bdbcba81109e2749015a575827b2494af971 Mon Sep 17 00:00:00 2001
From: Fushan Wen <[email protected]>
Date: Wed, 19 Apr 2023 23:22:14 +0800
Subject: [PATCH] Set parentItem for pages in DockWindow

After https://invent.kde.org/qt/qt/qtdeclarative/-/merge_requests/40 a
QQuickItem without a parentItem is always invisible. While this avoids
some crashes in plasmashell, it breaks some applications like MuseScore
where pages don't have a parent item.

This is also important for Qt6 porting.

Fixes #17276
---
 src/appshell/view/dockwindow/dockwindow.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/appshell/view/dockwindow/dockwindow.cpp 
b/src/appshell/view/dockwindow/dockwindow.cpp
index 1a2aaa428246..f8c79b8fe30a 100644
--- a/src/appshell/view/dockwindow/dockwindow.cpp
+++ b/src/appshell/view/dockwindow/dockwindow.cpp
@@ -619,6 +619,7 @@ void DockWindow::initDocks(DockPageView* page)
     }
 
     if (page) {
+        page->setParentItem(this);
         page->init();
     }
 

Reply via email to