Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kquickimageeditor for 
openSUSE:Factory checked in at 2026-03-19 17:26:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kquickimageeditor (Old)
 and      /work/SRC/openSUSE:Factory/.kquickimageeditor.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kquickimageeditor"

Thu Mar 19 17:26:45 2026 rev:7 rq:1340926 version:0.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/kquickimageeditor/kquickimageeditor.changes      
2025-11-17 12:23:08.169156995 +0100
+++ 
/work/SRC/openSUSE:Factory/.kquickimageeditor.new.8177/kquickimageeditor.changes
    2026-03-19 17:26:48.847602160 +0100
@@ -1,0 +2,11 @@
+Wed Mar 18 14:30:15 UTC 2026 - Fabian Vogt <[email protected]>
+
+- Update to 0.6.1
+  * CropTool: fix undefined aspectRatio error
+  * fix include paths
+  * TextTool: fix DragHandler not working
+  * imagedocument: Clean up UndoCommand pointers on destruction
+  * resizerectangle: Assign parent to QQmlComponent to prevent leak
+- Add new key from ndavis to kquickimageeditor.keyring
+
+-------------------------------------------------------------------

Old:
----
  kquickimageeditor-0.6.0.tar.xz
  kquickimageeditor-0.6.0.tar.xz.sig

New:
----
  kquickimageeditor-0.6.1.tar.xz
  kquickimageeditor-0.6.1.tar.xz.sig

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

Other differences:
------------------
++++++ kquickimageeditor.spec ++++++
--- /var/tmp/diff_new_pack.PLhe7I/_old  2026-03-19 17:26:49.647635345 +0100
+++ /var/tmp/diff_new_pack.PLhe7I/_new  2026-03-19 17:26:49.647635345 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kquickimageeditor
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@
 
 %bcond_without released
 Name:           kquickimageeditor%{?pkg_suffix}
-Version:        0.6.0
+Version:        0.6.1
 Release:        0
 Summary:        A set of QtQuick components for image editing
 License:        LGPL-2.1-or-later
@@ -110,7 +110,6 @@
 
 %files devel
 %if 0%{?qt6}
-%{_includedir}/kquickimageeditor/
 %{_includedir}/KQuickImageEditor/
 %{_kf6_cmakedir}/KQuickImageEditor/
 %{_kf6_libdir}/libKQuickImageEditor.so

++++++ kquickimageeditor-0.6.0.tar.xz -> kquickimageeditor-0.6.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kquickimageeditor-0.6.0/.kde-ci.yml 
new/kquickimageeditor-0.6.1/.kde-ci.yml
--- old/kquickimageeditor-0.6.0/.kde-ci.yml     2025-11-13 16:03:58.000000000 
+0100
+++ new/kquickimageeditor-0.6.1/.kde-ci.yml     2026-03-16 20:06:41.000000000 
+0100
@@ -10,3 +10,4 @@
 Options:
   require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows']
   run-qmllint: true
+  enable-lsan: True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kquickimageeditor-0.6.0/CMakeLists.txt 
new/kquickimageeditor-0.6.1/CMakeLists.txt
--- old/kquickimageeditor-0.6.0/CMakeLists.txt  2025-11-13 16:03:58.000000000 
+0100
+++ new/kquickimageeditor-0.6.1/CMakeLists.txt  2026-03-16 20:06:41.000000000 
+0100
@@ -7,7 +7,7 @@
 set(REQUIRED_KF_VERSION 6.13.0)
 set(REQUIRED_QT_VERSION 6.8.0)
 
-project(KQuickImageEditor LANGUAGES CXX VERSION 0.6.0)
+project(KQuickImageEditor LANGUAGES CXX VERSION 0.6.1)
 
 find_package(ECM ${REQUIRED_KF_VERSION} NO_MODULE)
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kquickimageeditor-0.6.0/src/CMakeLists.txt 
new/kquickimageeditor-0.6.1/src/CMakeLists.txt
--- old/kquickimageeditor-0.6.0/src/CMakeLists.txt      2025-11-13 
16:03:58.000000000 +0100
+++ new/kquickimageeditor-0.6.1/src/CMakeLists.txt      2026-03-16 
20:06:41.000000000 +0100
@@ -118,7 +118,7 @@
 endif()
 
 target_include_directories(KQuickImageEditor PUBLIC 
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/annotations>")
-target_include_directories(KQuickImageEditor INTERFACE 
"$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/KQuickImageEditor>")
+target_include_directories(KQuickImageEditor INTERFACE 
"$<INSTALL_INTERFACE:${KQuickImageEditor_INSTALL_INCLUDEDIR}>")
 
 ecm_finalize_qml_module(KQuickImageEditor DESTINATION ${KDE_INSTALL_QMLDIR} 
EXPORT KQuickImageEditorTargets)
 
@@ -136,12 +136,15 @@
 ecm_generate_pri_file(BASE_NAME KQuickImageEditor LIB_NAME KQuickImageEditor 
DEPS "core qml quick" FILENAME_VAR PRI_FILENAME )
 
 install(TARGETS KQuickImageEditor EXPORT KQuickImageEditorTargets 
${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
-install(FILES ${KQuickImageEditor_FORWARDING_HEADERS} DESTINATION 
${KQuickImageEditor_INSTALL_INCLUDEDIR} COMPONENT Devel)
+install(FILES ${KQuickImageEditor_FORWARDING_HEADERS}
+    DESTINATION ${KQuickImageEditor_INSTALL_INCLUDEDIR}/KQuickImageEditor
+    COMPONENT Devel
+)
 install(
     FILES
         ${KQuickImageEditor_HEADERS}
         ${CMAKE_CURRENT_BINARY_DIR}/kquickimageeditor_export.h
-    DESTINATION ${kquickimageeditor_INSTALL_INCLUDEDIR}
+    DESTINATION ${KQuickImageEditor_INSTALL_INCLUDEDIR}/kquickimageeditor
     COMPONENT Devel
 )
 install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kquickimageeditor-0.6.0/src/annotations/CropTool.qml 
new/kquickimageeditor-0.6.1/src/annotations/CropTool.qml
--- old/kquickimageeditor-0.6.0/src/annotations/CropTool.qml    2025-11-13 
16:03:58.000000000 +0100
+++ new/kquickimageeditor-0.6.1/src/annotations/CropTool.qml    2026-03-16 
20:06:41.000000000 +0100
@@ -110,7 +110,7 @@
             target: root.document
             // Clip selection in case someone undos/redos a crop while this 
tool is active
             function onUndoStackDepthChanged() {
-                let rect = 
Utils.rectAspectRatioed(baseItem.itemRect(selectionItem), aspectRatio)
+                let rect = 
Utils.rectAspectRatioed(baseItem.itemRect(selectionItem), root.tool.aspectRatio)
                 rect = Utils.rectClipped(rect, baseItem.maxRect())
                 baseItem.setItemRect(selectionItem, rect)
             }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kquickimageeditor-0.6.0/src/annotations/TextTool.qml 
new/kquickimageeditor-0.6.1/src/annotations/TextTool.qml
--- old/kquickimageeditor-0.6.0/src/annotations/TextTool.qml    2025-11-13 
16:03:58.000000000 +0100
+++ new/kquickimageeditor-0.6.1/src/annotations/TextTool.qml    2026-03-16 
20:06:41.000000000 +0100
@@ -216,12 +216,27 @@
                 target: null
                 cursorShape: Qt.SizeAllCursor
                 dragThreshold: 0
-                onActiveTranslationChanged: if (active) {
-                    const dx = Utils.dprRound(activeTranslation.x, 
Screen.devicePixelRatio) / viewport.scale
-                    const dy = Utils.dprRound(activeTranslation.y, 
Screen.devicePixelRatio) / viewport.scale
-                    root.document.selectedItem.applyTransform(dx, dy)
+                property point lastDocumentPos
+                onActiveTranslationChanged: if (active && lastDocumentPos !== 
undefined) {
+                    // We use the difference between the current document 
position
+                    // and a stored document press position instead of 
activeTranslation
+                    // so that the real translation can be tracked regardless 
of how the view is scaled.
+                    let documentMousePos = 
Utils.sceneToDocumentPoint(centroid.scenePosition, root.viewport)
+
+                    let matrix = Qt.matrix4x4()
+                    matrix.translate(
+                        // We want the relative mouse movement since the last 
onActiveTranslationChanged
+                        Qt.vector2d(documentMousePos.x - lastDocumentPos.x, 
documentMousePos.y - lastDocumentPos.y)
+                    )
+                    root.document.selectedItem.applyTransform(matrix)
+                    lastDocumentPos = documentMousePos;
                 }
-                onActiveChanged: if (!active) {
+                // DragHandler::activeChanged is emitted before 
DragHandler::translationChanged.
+                // HandlerPoint is completely updated, so we don't want to do 
onCentroidChanged.
+                // Otherwise, we would update our document press position when 
we don't want to.
+                onActiveChanged: if (active) {
+                    lastDocumentPos = 
Utils.sceneToDocumentPoint(centroid.scenePressPosition, root.viewport)
+                } else {
                     root.document.selectedItem.commitChanges()
                 }
             }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kquickimageeditor-0.6.0/src/imagedocument.cpp 
new/kquickimageeditor-0.6.1/src/imagedocument.cpp
--- old/kquickimageeditor-0.6.0/src/imagedocument.cpp   2025-11-13 
16:03:58.000000000 +0100
+++ new/kquickimageeditor-0.6.1/src/imagedocument.cpp   2026-03-16 
20:06:41.000000000 +0100
@@ -22,6 +22,12 @@
     });
 }
 
+ImageDocument::~ImageDocument()
+{
+    qDeleteAll(m_undos);
+    m_undos.clear();
+}
+
 void ImageDocument::cancel()
 {
     while (!m_undos.empty()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kquickimageeditor-0.6.0/src/imagedocument.h 
new/kquickimageeditor-0.6.1/src/imagedocument.h
--- old/kquickimageeditor-0.6.0/src/imagedocument.h     2025-11-13 
16:03:58.000000000 +0100
+++ new/kquickimageeditor-0.6.1/src/imagedocument.h     2026-03-16 
20:06:41.000000000 +0100
@@ -67,7 +67,7 @@
 
 public:
     ImageDocument(QObject *parent = nullptr);
-    ~ImageDocument() override = default;
+    ~ImageDocument() override;
 
     QImage image() const;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kquickimageeditor-0.6.0/src/resizerectangle.cpp 
new/kquickimageeditor-0.6.1/src/resizerectangle.cpp
--- old/kquickimageeditor-0.6.0/src/resizerectangle.cpp 2025-11-13 
16:03:58.000000000 +0100
+++ new/kquickimageeditor-0.6.1/src/resizerectangle.cpp 2026-03-16 
20:06:41.000000000 +0100
@@ -22,7 +22,7 @@
 {
     QQuickItem::componentComplete();
     QQmlEngine *engine = qmlEngine(this);
-    m_handleComponent = new QQmlComponent(engine, 
QUrl(QStringLiteral("qrc:/BasicResizeHandle.qml")));
+    m_handleComponent = new QQmlComponent(engine, 
QUrl(QStringLiteral("qrc:/BasicResizeHandle.qml")), this);
 
     auto handleItem = qobject_cast<QQuickItem *>(m_handleComponent->create());
     qDebug() << handleItem;

++++++ kquickimageeditor.keyring ++++++
Binary files /var/tmp/diff_new_pack.PLhe7I/_old and 
/var/tmp/diff_new_pack.PLhe7I/_new differ

Reply via email to