Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdeclarative for openSUSE:Factory 
checked in at 2023-09-11 21:20:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdeclarative (Old)
 and      /work/SRC/openSUSE:Factory/.kdeclarative.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdeclarative"

Mon Sep 11 21:20:19 2023 rev:120 rq:1110068 version:5.110.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdeclarative/kdeclarative.changes        
2023-08-20 00:13:16.595124243 +0200
+++ /work/SRC/openSUSE:Factory/.kdeclarative.new.1766/kdeclarative.changes      
2023-09-11 21:23:11.639537609 +0200
@@ -1,0 +2,10 @@
+Wed Sep  6 12:23:57 UTC 2023 - Christophe Marin <christo...@krop.fr>
+
+- Update to 5.110.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.110.0
+- Changes since 5.109.0:
+  * GridDelegate: lazy load menu
+
+-------------------------------------------------------------------

Old:
----
  kdeclarative-5.109.0.tar.xz
  kdeclarative-5.109.0.tar.xz.sig

New:
----
  kdeclarative-5.110.0.tar.xz
  kdeclarative-5.110.0.tar.xz.sig

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

Other differences:
------------------
++++++ kdeclarative.spec ++++++
--- /var/tmp/diff_new_pack.caFvSa/_old  2023-09-11 21:23:13.267595648 +0200
+++ /var/tmp/diff_new_pack.caFvSa/_new  2023-09-11 21:23:13.271595790 +0200
@@ -24,7 +24,7 @@
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without released
 Name:           kdeclarative
-Version:        5.109.0
+Version:        5.110.0
 Release:        0
 Summary:        Integration of QML and KDE workspaces
 License:        LGPL-2.1-or-later


++++++ kdeclarative-5.109.0.tar.xz -> kdeclarative-5.110.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.109.0/CMakeLists.txt 
new/kdeclarative-5.110.0/CMakeLists.txt
--- old/kdeclarative-5.109.0/CMakeLists.txt     2023-08-05 14:35:52.000000000 
+0200
+++ new/kdeclarative-5.110.0/CMakeLists.txt     2023-09-03 09:33:45.000000000 
+0200
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.109.0") # handled by release scripts
-set(KF_DEP_VERSION "5.109.0") # handled by release scripts
+set(KF_VERSION "5.110.0") # handled by release scripts
+set(KF_DEP_VERSION "5.110.0") # handled by release scripts
 project(KDeclarative VERSION ${KF_VERSION})
 
 # Dependencies
 include(FeatureSummary)
-find_package(ECM 5.109.0  NO_MODULE)
+find_package(ECM 5.110.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdeclarative-5.109.0/po/zh_CN/kdeclarative5.po 
new/kdeclarative-5.110.0/po/zh_CN/kdeclarative5.po
--- old/kdeclarative-5.109.0/po/zh_CN/kdeclarative5.po  2023-08-05 
14:35:52.000000000 +0200
+++ new/kdeclarative-5.110.0/po/zh_CN/kdeclarative5.po  2023-09-03 
09:33:45.000000000 +0200
@@ -3,7 +3,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2023-02-18 00:54+0000\n"
-"PO-Revision-Date: 2023-08-02 12:40\n"
+"PO-Revision-Date: 2023-09-02 02:56\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kdeclarative-5.109.0/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml 
new/kdeclarative-5.110.0/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml
--- old/kdeclarative-5.109.0/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml   
2023-08-05 14:35:52.000000000 +0200
+++ new/kdeclarative-5.110.0/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml   
2023-09-03 09:33:45.000000000 +0200
@@ -8,6 +8,7 @@
 import QtQuick.Layouts 1.1
 import QtQuick.Controls 2.2 as QQC2
 import QtQuick.Templates 2.2 as T2
+
 import org.kde.kirigami 2.12 as Kirigami
 
 /**
@@ -56,33 +57,9 @@
     height: GridView.view.cellHeight
     hoverEnabled: !Kirigami.Settings.isMobile
 
-    Keys.onEnterPressed: menu.trigger()
-    Keys.onMenuPressed: menu.trigger()
-    Keys.onSpacePressed: menu.trigger()
-
-    QQC2.Menu {
-        id: menu
-
-        function trigger() {
-            delegate.clicked()
-            if (delegate.actions.length > 0) {
-                menu.popup(delegate, thumbnail.x, thumbnail.y + 
thumbnail.height)
-            }
-        }
-
-        onClosed: delegate.forceActiveFocus()
-
-        Repeater {
-            model: delegate.actions
-            delegate: QQC2.MenuItem {
-                text: modelData.text || modelData.tooltip
-                icon.name: modelData.iconName
-                onTriggered: modelData.trigger()
-                enabled: modelData.enabled
-                visible: modelData.visible
-            }
-        }
-    }
+    Keys.onEnterPressed: thumbnail.trigger()
+    Keys.onMenuPressed: thumbnail.trigger()
+    Keys.onSpacePressed: thumbnail.trigger()
 
     Kirigami.ShadowedRectangle {
         id: thumbnail
@@ -120,6 +97,21 @@
             }
         }
 
+        // The menu is only used for keyboard navigation, so no need to always 
load
+        // it. This speeds up the compilation of GridDelegate.
+        property QQC2.Menu menu: null
+
+        function trigger() {
+            if (menu) {
+                menu.trigger();
+                return;
+            }
+            const component = 
Qt.createComponent("private/GridDelegateMenu.qml");
+            menu = component.createObject(delegate);
+            menu.trigger();
+            component.destroy();
+        }
+
         Rectangle {
             id: thumbnailArea
             radius: Kirigami.Units.smallSpacing/2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kdeclarative-5.109.0/src/qmlcontrols/kcmcontrols/qml/private/GridDelegateMenu.qml
 
new/kdeclarative-5.110.0/src/qmlcontrols/kcmcontrols/qml/private/GridDelegateMenu.qml
--- 
old/kdeclarative-5.109.0/src/qmlcontrols/kcmcontrols/qml/private/GridDelegateMenu.qml
       1970-01-01 01:00:00.000000000 +0100
+++ 
new/kdeclarative-5.110.0/src/qmlcontrols/kcmcontrols/qml/private/GridDelegateMenu.qml
       2023-09-03 09:33:45.000000000 +0200
@@ -0,0 +1,32 @@
+/*
+    SPDX-FileCopyrightText: 2015 Marco Martin <m...@kde.org>
+
+    SPDX-License-Identifier: LGPL-2.0-or-later
+*/
+
+import QtQuick 2.15
+import QtQuick.Controls 2.15 as QQC2
+
+QQC2.Menu {
+    id: menu
+
+    function trigger() {
+        menu.parent.clicked()
+        if (menu.parent.actions.length > 0) {
+            menu.popup(menu.parent, thumbnail.x, thumbnail.y + 
thumbnail.height)
+        }
+    }
+
+    onClosed: menu.parent.forceActiveFocus(Qt.TabFocusReason)
+
+    Repeater {
+        model: menu.parent.actions
+        delegate: QQC2.MenuItem {
+            text: modelData.text || modelData.tooltip
+            icon.name: modelData.iconName
+            onTriggered: modelData.trigger()
+            enabled: modelData.enabled
+            visible: modelData.visible
+        }
+    }
+}
\ No newline at end of file

Reply via email to