Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kdenlive for openSUSE:Factory checked in at 2022-12-30 11:08:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdenlive (Old)
and /work/SRC/openSUSE:Factory/.kdenlive.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdenlive"
Fri Dec 30 11:08:39 2022 rev:111 rq:1045745 version:22.12.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdenlive/kdenlive.changes 2022-12-09 16:59:19.056266759 +0100
+++ /work/SRC/openSUSE:Factory/.kdenlive.new.1563/kdenlive.changes 2022-12-30 11:08:58.573261211 +0100
@@ -1,0 +2,6 @@
+Thu Dec 29 19:13:15 UTC 2022 - Christophe Marin
+
+- Add patch to prevent a designer-qt5 crash (boo#1206680):
+ * 0001-Fix-designer-plugin-crash.patch
+
+-------------------------------------------------------------------
New:
----
0001-Fix-designer-plugin-crash.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdenlive.spec ++++++
--- /var/tmp/diff_new_pack.S4B2tx/_old 2022-12-30 11:08:59.273265395 +0100
+++ /var/tmp/diff_new_pack.S4B2tx/_new 2022-12-30 11:08:59.277265419 +0100
@@ -31,6 +31,8 @@
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
+# PATCH-FIX-UPSTREAM
+Patch0: 0001-Fix-designer-plugin-crash.patch
BuildRequires: desktop-file-utils
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
++++++ 0001-Fix-designer-plugin-crash.patch ++++++
From 78c216161f01fae3ebda62bcb27446ba386d1bbe Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Mardelle
Date: Mon, 12 Dec 2022 08:29:53 +0100
Subject: [PATCH] Fix designer plugin crash
---
src/widgets/colorpickerwidget.cpp | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/widgets/colorpickerwidget.cpp b/src/widgets/colorpickerwidget.cpp
index 18bb2e308..69bb7d3d1 100644
--- a/src/widgets/colorpickerwidget.cpp
+++ b/src/widgets/colorpickerwidget.cpp
@@ -84,14 +84,16 @@ ColorPickerWidget::ColorPickerWidget(QWidget *parent)
// Check wether grabWindow() works. On some systems like with Wayland it does.
// We fallback to the Freedesktop portal with DBus which has less features than
// our custom implementation (eg. preview and avarage color are missing)
- QPoint p(pCore->window()->geometry().center());
- foreach (QScreen *screen, QGuiApplication::screens()) {
- QRect screenRect = screen->geometry();
- if (screenRect.contains(p)) {
- QPixmap pm = screen->grabWindow(pCore->window()->winId(), p.x(), p.y(), 1, 1);
- qDebug() << "got pixmap that is not null";
- m_useDBus = pm.isNull();
- break;
+ if (pCore) {
+ QPoint p(pCore->window()->geometry().center());
+ foreach (QScreen *screen, QGuiApplication::screens()) {
+ QRect screenRect = screen->geometry();
+ if (screenRect.contains(p)) {
+ QPixmap pm = screen->grabWindow(pCore->window()->winId(), p.x(), p.y(), 1, 1);
+ qDebug() << "got pixmap that is not null";
+ m_useDBus = pm.isNull();
+ break;
+ }
}
}
--
2.39.0