Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-qqc2-desktop-style for openSUSE:Factory checked in at 2025-07-14 10:49:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-qqc2-desktop-style (Old) and /work/SRC/openSUSE:Factory/.kf6-qqc2-desktop-style.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-qqc2-desktop-style" Mon Jul 14 10:49:33 2025 rev:18 rq:1292178 version:6.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-qqc2-desktop-style/kf6-qqc2-desktop-style.changes 2025-06-18 16:00:08.458127188 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-qqc2-desktop-style.new.7373/kf6-qqc2-desktop-style.changes 2025-07-14 10:54:11.890845112 +0200 @@ -1,0 +2,18 @@ +Mon Jul 7 07:24:51 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 6.16.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.16.0 +- Changes since 6.15.0: + * Update dependency version to 6.16.0 + * Add footer line and padding to QQC2.Dialog style + * Use correct height for treeview delegates + * Check for text truncation correctly to fix tooltip visibility (kde#505745) + * Add the tooltip code from Kirigami.MenuDialog to QQC.ItemDelegate + * Skip disabled tabs when switching pages by mouse wheel + * Remove modelIndex property from TreeViewDelegate (kde#505437) + * Use loader for treeview indicators + * Update version to 6.16.0 + +------------------------------------------------------------------- Old: ---- qqc2-desktop-style-6.15.0.tar.xz qqc2-desktop-style-6.15.0.tar.xz.sig New: ---- qqc2-desktop-style-6.16.0.tar.xz qqc2-desktop-style-6.16.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-qqc2-desktop-style.spec ++++++ --- /var/tmp/diff_new_pack.DjITwa/_old 2025-07-14 10:54:13.434909140 +0200 +++ /var/tmp/diff_new_pack.DjITwa/_new 2025-07-14 10:54:13.434909140 +0200 @@ -19,11 +19,11 @@ %define qt6_version 6.8.0 %define rname qqc2-desktop-style -# Full KF6 version (e.g. 6.15.0) +# Full KF6 version (e.g. 6.16.0) %{!?_kf6_version: %global _kf6_version %{version}} %bcond_without released Name: kf6-qqc2-desktop-style -Version: 6.15.0 +Version: 6.16.0 Release: 0 Summary: A Qt Quick Controls 2 Style for Desktop UIs License: GPL-2.0-or-later ++++++ qqc2-desktop-style-6.15.0.tar.xz -> qqc2-desktop-style-6.16.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/.gitignore new/qqc2-desktop-style-6.16.0/.gitignore --- old/qqc2-desktop-style-6.15.0/.gitignore 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/.gitignore 2025-07-04 17:19:20.000000000 +0200 @@ -27,3 +27,4 @@ .idea /cmake-build* .cache +.qmlls.ini diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/CMakeLists.txt new/qqc2-desktop-style-6.16.0/CMakeLists.txt --- old/qqc2-desktop-style-6.15.0/CMakeLists.txt 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/CMakeLists.txt 2025-07-04 17:19:20.000000000 +0200 @@ -1,13 +1,13 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "6.15.0") # handled by release scripts -set(KF_DEP_VERSION "6.15.0") # handled by release scripts +set(KF_VERSION "6.16.0") # handled by release scripts +set(KF_DEP_VERSION "6.16.0") # handled by release scripts project(qqc2-desktop-style VERSION ${KF_VERSION}) set(REQUIRED_QT_VERSION 6.7.0) -find_package(ECM 6.15.0 REQUIRED NO_MODULE) +find_package(ECM 6.16.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-6.15.0/org.kde.desktop/CheckDelegate.qml new/qqc2-desktop-style-6.16.0/org.kde.desktop/CheckDelegate.qml --- old/qqc2-desktop-style-6.15.0/org.kde.desktop/CheckDelegate.qml 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/org.kde.desktop/CheckDelegate.qml 2025-07-04 17:19:20.000000000 +0200 @@ -35,7 +35,7 @@ icon.width: __iconSize icon.height:__iconSize - T.ToolTip.visible: (Kirigami.Settings.tabletMode ? down : hovered) && (textLabel.truncated ?? false) + T.ToolTip.visible: (Kirigami.Settings.tabletMode ? down : hovered) && (contentItem.truncated ?? false) T.ToolTip.text: text T.ToolTip.delay: Kirigami.Units.toolTipDelay diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/org.kde.desktop/Dialog.qml new/qqc2-desktop-style-6.16.0/org.kde.desktop/Dialog.qml --- old/qqc2-desktop-style-6.15.0/org.kde.desktop/Dialog.qml 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/org.kde.desktop/Dialog.qml 2025-07-04 17:19:20.000000000 +0200 @@ -28,7 +28,8 @@ + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) - padding: Kirigami.Units.gridUnit + padding: contentItem instanceof QQC2.ScrollView ? 0 : Kirigami.Units.gridUnit + margins: Kirigami.Units.gridUnit // black background, fades in and out QQC2.Overlay.modal: Rectangle { @@ -92,5 +93,17 @@ footer: DialogButtonBox { visible: count > 0 + + background: Item { + Kirigami.Separator { + visible: if (control.contentItem instanceof T.Pane || control.contentItem instanceof Flickable) { + return control.contentItem.height < control.contentItem.contentHeight; + } else { + return false; + } + width: parent.width + anchors.top: parent.top + } + } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/org.kde.desktop/ItemDelegate.qml new/qqc2-desktop-style-6.16.0/org.kde.desktop/ItemDelegate.qml --- old/qqc2-desktop-style-6.15.0/org.kde.desktop/ItemDelegate.qml 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/org.kde.desktop/ItemDelegate.qml 2025-07-04 17:19:20.000000000 +0200 @@ -35,9 +35,9 @@ icon.width: __iconSize icon.height:__iconSize - T.ToolTip.visible: (Kirigami.Settings.tabletMode ? down : hovered) && (textLabel.truncated ?? false) - T.ToolTip.text: text - T.ToolTip.delay: Kirigami.Units.toolTipDelay + T.ToolTip.visible: (Kirigami.Settings.tabletMode ? down : hovered) && (contentItem.truncated ?? false) + T.ToolTip.text: action instanceof Kirigami.Action ? action.tooltip : text + T.ToolTip.delay: Kirigami.Settings.tabletMode ? Qt.styleHints.mousePressAndHoldInterval : Kirigami.Units.toolTipDelay leftInset: TableView.view ? 0 : horizontalPadding / 2 rightInset: TableView.view ? 0 : horizontalPadding / 2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/org.kde.desktop/RadioDelegate.qml new/qqc2-desktop-style-6.16.0/org.kde.desktop/RadioDelegate.qml --- old/qqc2-desktop-style-6.15.0/org.kde.desktop/RadioDelegate.qml 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/org.kde.desktop/RadioDelegate.qml 2025-07-04 17:19:20.000000000 +0200 @@ -35,7 +35,7 @@ icon.width: __iconSize icon.height:__iconSize - T.ToolTip.visible: (Kirigami.Settings.tabletMode ? down : hovered) && (textLabel.truncated ?? false) + T.ToolTip.visible: (Kirigami.Settings.tabletMode ? down : hovered) && (contentItem.truncated ?? false) T.ToolTip.text: text T.ToolTip.delay: Kirigami.Units.toolTipDelay diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/org.kde.desktop/SwitchDelegate.qml new/qqc2-desktop-style-6.16.0/org.kde.desktop/SwitchDelegate.qml --- old/qqc2-desktop-style-6.15.0/org.kde.desktop/SwitchDelegate.qml 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/org.kde.desktop/SwitchDelegate.qml 2025-07-04 17:19:20.000000000 +0200 @@ -34,7 +34,7 @@ icon.width: __iconSize icon.height:__iconSize - T.ToolTip.visible: (Kirigami.Settings.tabletMode ? down : hovered) && (textLabel.truncated ?? false) + T.ToolTip.visible: (Kirigami.Settings.tabletMode ? down : hovered) && (contentItem.truncated ?? false) T.ToolTip.text: text T.ToolTip.delay: Kirigami.Units.toolTipDelay diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/org.kde.desktop/TabBar.qml new/qqc2-desktop-style-6.16.0/org.kde.desktop/TabBar.qml --- old/qqc2-desktop-style-6.15.0/org.kde.desktop/TabBar.qml 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/org.kde.desktop/TabBar.qml 2025-07-04 17:19:20.000000000 +0200 @@ -59,11 +59,13 @@ background: MouseArea { acceptedButtons: Qt.NoButton - onWheel: { - if (wheel.pixelDelta.y < 0 || wheel.angleDelta.y < 0) { - controlRoot.currentIndex = Math.min(controlRoot.currentIndex + 1, controlRoot.contentModel.count - 1); - } else { - controlRoot.currentIndex = Math.max(controlRoot.currentIndex - 1, 0); + onWheel: (wheel) => { + let delta = wheel.pixelDelta.y < 0 || wheel.angleDelta.y < 0 ? 1 : -1; + for (let i = controlRoot.currentIndex + delta; i >= 0 && i < controlRoot.contentModel.count; i += delta) { + if (controlRoot.contentModel.get(i).enabled) { + controlRoot.currentIndex = i; + break; + } } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/org.kde.desktop/TreeViewDelegate.qml new/qqc2-desktop-style-6.16.0/org.kde.desktop/TreeViewDelegate.qml --- old/qqc2-desktop-style-6.15.0/org.kde.desktop/TreeViewDelegate.qml 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/org.kde.desktop/TreeViewDelegate.qml 2025-07-04 17:19:20.000000000 +0200 @@ -55,46 +55,33 @@ required property var model readonly property real __contentIndent: !isTreeNode ? 0 : (depth * indentation) + (indicator ? indicator.width + spacing : 0) - // TableView does not provide us with a source QModelIndex, so we have to - // reconstruct it ourselves, in an (unfortunately) non-observable way. - property /*QModelIndex*/var modelIndex: expressionForModelIndex() - - function expressionForModelIndex(): /*QModelIndex*/var { - // Note: this is not observable in case of model changes - return treeView.index(row, column); - } - - function refreshModelIndex(): void { - modelIndex = Qt.binding(() => expressionForModelIndex()); - } - - Component.onCompleted: { - refreshModelIndex(); - } + Loader { + id: mainIndicator + active: controlRoot.isTreeNode + + sourceComponent: StylePrivate.StyleItem { + readonly property real __indicatorIndent: controlRoot.leftMargin + (controlRoot.depth * controlRoot.indentation) + x: !controlRoot.mirrored ? __indicatorIndent : controlRoot.width - __indicatorIndent - width + height: controlRoot.height + width: pixelMetric("treeviewindentation") + hover: hover.hovered + elementType: "itembranchindicator" + on: controlRoot.expanded + selected: controlRoot.highlighted || controlRoot.checked || (controlRoot.pressed && !controlRoot.checked) + properties: { + "isItem": true, + "hasChildren": true, + "hasSibling": controlRoot.treeView.model.rowCount(controlRoot.treeView.index(controlRoot.row, controlRoot.column).parent) > controlRoot.row + 1 + } + HoverHandler { + id: hover + } + } - TableView.onReused: { - refreshModelIndex(); } // The indicator is only visible when the item has children, so this is only the closest branch indicator (+arrow) - the rest of the branch indicator lines are below - indicator: StylePrivate.StyleItem { - readonly property real __indicatorIndent: controlRoot.leftMargin + (controlRoot.depth * controlRoot.indentation) - x: !controlRoot.mirrored ? __indicatorIndent : controlRoot.width - __indicatorIndent - width - height: parent.height - width: pixelMetric("treeviewindentation") - hover: hover.hovered - elementType: "itembranchindicator" - on: controlRoot.expanded - selected: controlRoot.highlighted || controlRoot.checked || (controlRoot.pressed && !controlRoot.checked) - properties: { - "isItem": true, - "hasChildren": true, - "hasSibling": controlRoot.treeView.model.rowCount(controlRoot.modelIndex.parent) > controlRoot.modelIndex.row + 1 - } - HoverHandler { - id: hover - } - } + indicator: mainIndicator.item // The rest of the branch indicators, this is outside of the background so consumers can freely // modify it without losing it @@ -102,7 +89,7 @@ visible: controlRoot.isTreeNode height: parent.height x: controlRoot.mirrored ? controlRoot.width - controlRoot.leftMargin - width : controlRoot.leftMargin - modelIndex: controlRoot.modelIndex + modelIndex: controlRoot.treeView.index(controlRoot.row, controlRoot.column) selected: controlRoot.highlighted || controlRoot.checked || (controlRoot.pressed && !controlRoot.checked) rootIndex: controlRoot.treeView.rootIndex } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qqc2-desktop-style-6.15.0/tests/tabbar.qml new/qqc2-desktop-style-6.16.0/tests/tabbar.qml --- old/qqc2-desktop-style-6.15.0/tests/tabbar.qml 2025-06-06 15:33:47.000000000 +0200 +++ new/qqc2-desktop-style-6.16.0/tests/tabbar.qml 2025-07-04 17:19:20.000000000 +0200 @@ -31,6 +31,10 @@ text: "Green" } TabButton { + text: "Red" + enabled: false + } + TabButton { text: "Blue" } } @@ -58,6 +62,9 @@ color: "Green" } Rectangle { + color: "Red" + } + Rectangle { color: "Blue" } }