Hello community, here is the log from the commit of package qqc2-desktop-style for openSUSE:Factory checked in at 2019-01-24 14:10:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qqc2-desktop-style (Old) and /work/SRC/openSUSE:Factory/.qqc2-desktop-style.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qqc2-desktop-style" Thu Jan 24 14:10:24 2019 rev:17 rq:665874 version:5.54.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qqc2-desktop-style/qqc2-desktop-style.changes 2018-12-21 08:21:35.557560255 +0100 +++ /work/SRC/openSUSE:Factory/.qqc2-desktop-style.new.28833/qqc2-desktop-style.changes 2019-01-24 14:10:24.799570078 +0100 @@ -1,0 +2,15 @@ +Mon Jan 14 06:14:47 UTC 2019 - [email protected] + +- Update to 5.54.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.54.0.php +- Changes since 5.53.0: + * Fix warning + * Fix menu item width when the delegate is overriden (kde#401792) + * Fix warnings + * Rotate busy indicator clockwise + * same behavior as Kirigami ScrollablePage + * force checkboxes/radios to be square + +------------------------------------------------------------------- Old: ---- qqc2-desktop-style-5.53.0.tar.xz New: ---- qqc2-desktop-style-5.54.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qqc2-desktop-style.spec ++++++ --- /var/tmp/diff_new_pack.gYCszn/_old 2019-01-24 14:10:25.199569617 +0100 +++ /var/tmp/diff_new_pack.gYCszn/_new 2019-01-24 14:10:25.203569613 +0100 @@ -1,7 +1,7 @@ # # spec file for package qqc2-desktop-style # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define _tar_path 5.53 +%define _tar_path 5.54 Name: qqc2-desktop-style -Version: 5.53.0 +Version: 5.54.0 Release: 0 Summary: A Qt Quick Controls 2 Style for Desktop UIs License: GPL-2.0-or-later ++++++ qqc2-desktop-style-5.53.0.tar.xz -> qqc2-desktop-style-5.54.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/CMakeLists.txt new/qqc2-desktop-style-5.54.0/CMakeLists.txt --- old/qqc2-desktop-style-5.53.0/CMakeLists.txt 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/CMakeLists.txt 2019-01-04 22:45:42.000000000 +0100 @@ -1,7 +1,7 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.53.0") # handled by release scripts -set(KF5_DEP_VERSION "5.53.0") # handled by release scripts +set(KF5_VERSION "5.54.0") # handled by release scripts +set(KF5_DEP_VERSION "5.54.0") # handled by release scripts project(qqc2-desktop-style VERSION ${KF5_VERSION}) @@ -21,7 +21,7 @@ ################# set KDE specific information ################# -find_package(ECM 5.53.0 REQUIRED NO_MODULE) +find_package(ECM 5.54.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} ${ECM_KDE_MODULE_DIR}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/BusyIndicator.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/BusyIndicator.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/BusyIndicator.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/BusyIndicator.qml 2019-01-04 22:45:42.000000000 +0100 @@ -50,8 +50,8 @@ RotationAnimator { target: controlRoot.contentItem running: controlRoot.visible && controlRoot.running - from: 360 - to: 0 + from: 0 + to: 360 loops: Animation.Infinite duration: 1000 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/CheckBox.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/CheckBox.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/CheckBox.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/CheckBox.qml 2019-01-04 22:45:42.000000000 +0100 @@ -45,6 +45,7 @@ indicator: CheckIndicator { LayoutMirroring.enabled: controlRoot.mirrored LayoutMirroring.childrenInherit: true + width: height anchors { left: parent.left verticalCenter: parent.verticalCenter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/ComboBox.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/ComboBox.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/ComboBox.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/ComboBox.qml 2019-01-04 22:45:42.000000000 +0100 @@ -37,7 +37,7 @@ Kirigami.Theme.colorSet: typeof(editable) != "undefined" && editable ? Kirigami.Theme.View : Kirigami.Theme.Button Kirigami.Theme.inherit: false - implicitWidth: background.implicitWidth + leftPadding + rightPadding + implicitWidth: Math.max(200, background.implicitWidth + leftPadding + rightPadding) implicitHeight: background.implicitHeight baselineOffset: contentItem.y + contentItem.baselineOffset diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/Menu.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/Menu.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/Menu.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/Menu.qml 2019-01-04 22:45:42.000000000 +0100 @@ -38,7 +38,7 @@ margins: 0 -@DISABLE_UNDER_QQC2_2_3@ delegate: MenuItem { width: parent.width; onImplicitWidthChanged: control.contentItem.contentItem.childrenChanged() } +@DISABLE_UNDER_QQC2_2_3@ delegate: MenuItem { onImplicitWidthChanged: control.contentItem.contentItem.childrenChanged() } contentItem: ListView { implicitHeight: contentHeight diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/MenuItem.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/MenuItem.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/MenuItem.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/MenuItem.qml 2019-01-04 22:45:42.000000000 +0100 @@ -36,6 +36,8 @@ indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding) : 0 baselineOffset: contentItem.y + contentItem.baselineOffset + width: parent ? parent.width : implicitWidth + Layout.fillWidth: true padding: Kirigami.Units.smallSpacing leftPadding: Kirigami.Units.largeSpacing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/RadioButton.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/RadioButton.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/RadioButton.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/RadioButton.qml 2019-01-04 22:45:42.000000000 +0100 @@ -45,6 +45,7 @@ indicator: CheckIndicator { LayoutMirroring.enabled: controlRoot.mirrored LayoutMirroring.childrenInherit: true + width: height anchors { left: parent.left verticalCenter: parent.verticalCenter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/ScrollView.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/ScrollView.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/ScrollView.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/ScrollView.qml 2019-01-04 22:45:42.000000000 +0100 @@ -46,7 +46,7 @@ topPadding: background && background.visible ? 2 : 0 rightPadding: background && background.visible ? 2 : 0 bottomPadding: background && background.visible ? 2 : 0 - + //create a background only after Component.onCompleted, see on the component creation below for explanation Component.onCompleted: { if (!controlRoot.background) { @@ -68,12 +68,12 @@ onFlickableItemChanged: { flickableItem.boundsBehavior = scrollHelper.isMobile ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds; - + //don't make the scrolling items overlap the background borders. flickableItem.anchors.margins = Qt.binding(function() { return controlRoot.background && controlRoot.background.visible ? 2 : 0; }); flickableItem.clip = true; - flickableItem.pixelAligned = true; flickableItem.interactive = Kirigami.Settings.isMobile + flickableItem.parent = scrollHelper; } onPressed: { mouse.accepted = false; @@ -84,7 +84,7 @@ } onReleased: { mouse.accepted = false; - flickableItem.interactive = false; + //flickableItem.interactive = false; } onWheel: { if (isMobile || flickableItem.contentHeight < flickableItem.height) { @@ -111,8 +111,14 @@ Connections { target: scrollHelper.flickableItem - onFlickEnded: scrollHelper.flickableItem.interactive = false; - onMovementEnded: scrollHelper.flickableItem.interactive = false; + onFlickEnded: { + scrollHelper.flickableItem.interactive = false; + scrollHelper.flickableItem.contentY = Math.round(scrollHelper.flickableItem.contentY); + } + onMovementEnded: { + scrollHelper.flickableItem.interactive = false; + scrollHelper.flickableItem.contentY = Math.round(scrollHelper.flickableItem.contentY); + } } /*create a background only after Component.onCompleted because: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/TextArea.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/TextArea.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/TextArea.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/TextArea.qml 2019-01-04 22:45:42.000000000 +0100 @@ -55,7 +55,7 @@ selectByMouse: !Kirigami.Settings.tabletMode - cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : undefined + cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : null Component { id: mobileCursor Private.MobileCursor { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-5.53.0/org.kde.desktop/TextField.qml new/qqc2-desktop-style-5.54.0/org.kde.desktop/TextField.qml --- old/qqc2-desktop-style-5.53.0/org.kde.desktop/TextField.qml 2018-12-01 15:42:55.000000000 +0100 +++ new/qqc2-desktop-style-5.54.0/org.kde.desktop/TextField.qml 2019-01-04 22:45:42.000000000 +0100 @@ -54,7 +54,7 @@ renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering selectByMouse: !Kirigami.Settings.tabletMode - cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : undefined + cursorDelegate: Kirigami.Settings.tabletMode ? mobileCursor : null Component { id: mobileCursor Private.MobileCursor {
