Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qqc2-desktop-style for openSUSE:Factory checked in at 2022-01-11 21:16:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qqc2-desktop-style (Old) and /work/SRC/openSUSE:Factory/.qqc2-desktop-style.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qqc2-desktop-style" Tue Jan 11 21:16:58 2022 rev:54 rq:945099 version:5.90.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qqc2-desktop-style/qqc2-desktop-style.changes 2021-12-13 20:45:22.120492225 +0100 +++ /work/SRC/openSUSE:Factory/.qqc2-desktop-style.new.1892/qqc2-desktop-style.changes 2022-01-11 21:20:13.256998976 +0100 @@ -1,0 +2,12 @@ +Mon Jan 3 12:48:07 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.90.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.90.0 +- Changes since 5.89.0: + * TextFieldContextMenu: Fix menu not opening + * Fix binding loop in Spinbox (kde#446354) + * Add A SpinBox test + +------------------------------------------------------------------- Old: ---- qqc2-desktop-style-5.89.0.tar.xz qqc2-desktop-style-5.89.0.tar.xz.sig New: ---- qqc2-desktop-style-5.90.0.tar.xz qqc2-desktop-style-5.90.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qqc2-desktop-style.spec ++++++ --- /var/tmp/diff_new_pack.bBHPzW/_old 2022-01-11 21:20:14.004999502 +0100 +++ /var/tmp/diff_new_pack.bBHPzW/_new 2022-01-11 21:20:14.008999505 +0100 @@ -16,18 +16,18 @@ # -%define _tar_path 5.89 +%define _tar_path 5.90 # Only needed for the package signature condition -%bcond_without lang +%bcond_without released Name: qqc2-desktop-style -Version: 5.89.0 +Version: 5.90.0 Release: 0 Summary: A Qt Quick Controls 2 Style for Desktop UIs License: GPL-2.0-or-later Group: Development/Libraries/KDE URL: https://www.kde.org Source: qqc2-desktop-style-%{version}.tar.xz -%if %{with lang} +%if %{with released} Source1: qqc2-desktop-style-%{version}.tar.xz.sig Source2: frameworks.keyring %endif ++++++ qqc2-desktop-style-5.89.0.tar.xz -> qqc2-desktop-style-5.90.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.89.0/CMakeLists.txt new/qqc2-desktop-style-5.90.0/CMakeLists.txt --- old/qqc2-desktop-style-5.89.0/CMakeLists.txt 2021-12-04 18:06:51.000000000 +0100 +++ new/qqc2-desktop-style-5.90.0/CMakeLists.txt 2022-01-01 13:21:37.000000000 +0100 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.89.0") # handled by release scripts -set(KF_DEP_VERSION "5.89.0") # handled by release scripts +set(KF_VERSION "5.90.0") # handled by release scripts +set(KF_DEP_VERSION "5.90.0") # handled by release scripts project(qqc2-desktop-style VERSION ${KF_VERSION}) @@ -21,7 +21,7 @@ ################# set KDE specific information ################# -find_package(ECM 5.89.0 REQUIRED NO_MODULE) +find_package(ECM 5.90.0 REQUIRED NO_MODULE) # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.89.0/org.kde.desktop/SpinBox.qml new/qqc2-desktop-style-5.90.0/org.kde.desktop/SpinBox.qml --- old/qqc2-desktop-style-5.89.0/org.kde.desktop/SpinBox.qml 2021-12-04 18:06:51.000000000 +0100 +++ new/qqc2-desktop-style-5.90.0/org.kde.desktop/SpinBox.qml 2022-01-01 13:21:37.000000000 +0100 @@ -17,15 +17,15 @@ Kirigami.Theme.colorSet: Kirigami.Theme.View Kirigami.Theme.inherit: false - implicitWidth: Math.max(styleitem.fullRect.width, 48, contentItem.implicitWidth + 2 * padding + up.indicator.implicitWidth + down.indicator.implicitWidth) - implicitHeight: Math.max(styleitem.fullRect.height, background.implicitHeight, contentItem.implicitHeight + topPadding + bottomPadding) + implicitWidth: Math.max(styleitem.fullRectSizeHint.width, 48, contentItem.implicitWidth + 2 * padding + up.indicator.implicitWidth + down.indicator.implicitWidth) + implicitHeight: Math.max(styleitem.fullRectSizeHint.height, background.implicitHeight, contentItem.implicitHeight + topPadding + bottomPadding) padding: 6 leftPadding: controlRoot.mirrored ? ___rPadding : ___lPadding rightPadding: controlRoot.mirrored ? ___lPadding : ___rPadding - readonly property int ___lPadding: styleitem.upRect.x === styleitem.downRect.x ? horizontalPadding : styleitem.upRect.width - readonly property int ___rPadding: styleitem.upRect.x === styleitem.downRect.x ? styleitem.upRect.width : styleitem.downRect.width + readonly property int ___lPadding: styleitem.upRectSizeHint.x === styleitem.downRectSizeHint.x ? horizontalPadding : styleitem.upRectSizeHint.width + readonly property int ___rPadding: styleitem.upRectSizeHint.x === styleitem.downRectSizeHint.x ? styleitem.upRectSizeHint.width : styleitem.downRectSizeHint.width hoverEnabled: true @@ -123,18 +123,19 @@ hasFocus: controlRoot.activeFocus enabled: controlRoot.enabled - property rect upRect: styleitem.subControlRect("up") - property rect downRect: styleitem.subControlRect("down") - property rect editRect: styleitem.subControlRect("edit") - property rect fullRect: styleitem.computeBoundingRect([upRect, downRect, editRect]) - property size theSize: styleitem.sizeFromContents(editRect.width, editRect.height) + // static hints calculated once for minimum sizes + property rect upRectSizeHint: styleitem.subControlRect("up") + property rect downRectSizeHint: styleitem.subControlRect("down") + property rect editRectSizeHint: styleitem.subControlRect("edit") + property rect fullRectSizeHint: styleitem.computeBoundingRect([upRectSizeHint, downRectSizeHint, editRectSizeHint]) + + // dynamic hints calculated every resize to keep the buttons in place + property rect upRect: upRectSizeHint + property rect downRect: downRectSizeHint function recompute() { upRect = styleitem.subControlRect("up") downRect = styleitem.subControlRect("down") - editRect = styleitem.subControlRect("edit") - fullRect = styleitem.computeBoundingRect([upRect, downRect, editRect]) - theSize = styleitem.sizeFromContents(editRect.width, editRect.height) } onWidthChanged: recompute() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.89.0/org.kde.desktop/private/TextFieldContextMenu.qml new/qqc2-desktop-style-5.90.0/org.kde.desktop/private/TextFieldContextMenu.qml --- old/qqc2-desktop-style-5.89.0/org.kde.desktop/private/TextFieldContextMenu.qml 2021-12-04 18:06:51.000000000 +0100 +++ new/qqc2-desktop-style-5.90.0/org.kde.desktop/private/TextFieldContextMenu.qml 2022-01-01 13:21:37.000000000 +0100 @@ -46,7 +46,7 @@ contextMenu.target = newTarget; contextMenu.target.persistentSelection = true; // persist selection when menu is opened contextMenu.spellcheckhighlighterLoader = spellcheckhighlighter; - if (spellcheckhighlighter.active) { + if (spellcheckhighlighter && spellcheckhighlighter.active) { contextMenu.spellcheckhighlighter = spellcheckhighlighter.item; contextMenu.suggestions = mousePosition ? spellcheckhighlighter.item.suggestions(mousePosition) : []; } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.89.0/tests/SpinBox.qml new/qqc2-desktop-style-5.90.0/tests/SpinBox.qml --- old/qqc2-desktop-style-5.89.0/tests/SpinBox.qml 1970-01-01 01:00:00.000000000 +0100 +++ new/qqc2-desktop-style-5.90.0/tests/SpinBox.qml 2022-01-01 13:21:37.000000000 +0100 @@ -0,0 +1,32 @@ +/* + SPDX-FileCopyrightText: 2021 M??ven Car <meven....@enioka.com> + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ +import QtQuick 2.3 +import QtQuick.Layouts 1.3 +import QtQuick.Controls 2.3 + +ApplicationWindow +{ + visible: true + width: 800 + height: 600 + + GridLayout { + anchors.fill: parent + anchors.margins: 10 + flow: GridLayout.TopToBottom + + SpinBox{ + id: spinbox + width: 100 + from : 1 + to : 100 + value: 50 + onValueModified: { + console.log(value) + } + } + } +}