Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-kirigami for openSUSE:Factory checked in at 2026-04-11 22:24:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-kirigami (Old) and /work/SRC/openSUSE:Factory/.kf6-kirigami.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-kirigami" Sat Apr 11 22:24:10 2026 rev:33 rq:1345895 version:6.25.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-kirigami/kf6-kirigami.changes 2026-03-16 14:18:19.867768157 +0100 +++ /work/SRC/openSUSE:Factory/.kf6-kirigami.new.21863/kf6-kirigami.changes 2026-04-11 22:28:11.976868215 +0200 @@ -1,0 +2,20 @@ +Tue Apr 7 19:19:12 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 6.25.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.25.0 +- Changes since 6.24.0: + * Update dependency version to 6.25.0 + * Disable Alpine CI + * Disable qmllint for some modules + * PageRow: don't leak the dialog layer window + * Fix AboutPage license sheet + * Remove duplicate FeatureSummary include + * Don't include quiet packages in feature_summary + * TitleSubtitle: Add tweakable textFormat property + * platform: Prefer filesystem over qrc when determining install root + * LinkButton: Create template, move items from control to template + * Update version to 6.25.0 + +------------------------------------------------------------------- Old: ---- kirigami-6.24.0.tar.xz kirigami-6.24.0.tar.xz.sig New: ---- kirigami-6.25.0.tar.xz kirigami-6.25.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-kirigami.spec ++++++ --- /var/tmp/diff_new_pack.ehdjyF/_old 2026-04-11 22:28:12.640895412 +0200 +++ /var/tmp/diff_new_pack.ehdjyF/_new 2026-04-11 22:28:12.640895412 +0200 @@ -19,11 +19,11 @@ %define qt6_version 6.8.0 %define rname kirigami -# Full KF6 version (e.g. 6.24.0) +# Full KF6 version (e.g. 6.25.0) %{!?_kf6_version: %global _kf6_version %{version}} %bcond_without released Name: kf6-kirigami -Version: 6.24.0 +Version: 6.25.0 Release: 0 Summary: Set of QtQuick components License: LGPL-2.1-or-later ++++++ kirigami-6.24.0.tar.xz -> kirigami-6.25.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/.gitlab-ci.yml new/kirigami-6.25.0/.gitlab-ci.yml --- old/kirigami-6.24.0/.gitlab-ci.yml 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/.gitlab-ci.yml 2026-04-03 19:09:58.000000000 +0200 @@ -11,6 +11,6 @@ - /gitlab-templates/cppcheck.yml - /gitlab-templates/windows-qt6.yml - /gitlab-templates/freebsd-qt6.yml - - /gitlab-templates/alpine-qt6.yml + # - /gitlab-templates/alpine-qt6.yml - /gitlab-templates/xml-lint.yml - /gitlab-templates/yaml-lint.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/CMakeLists.txt new/kirigami-6.25.0/CMakeLists.txt --- old/kirigami-6.24.0/CMakeLists.txt 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/CMakeLists.txt 2026-04-03 19:09:58.000000000 +0200 @@ -1,11 +1,11 @@ -cmake_minimum_required(VERSION 3.27) +cmake_minimum_required(VERSION 3.29) -set(KF_VERSION "6.24.0") # handled by release scripts -set(KF_DEP_VERSION "6.24.0") # handled by release scripts +set(KF_VERSION "6.25.0") # handled by release scripts +set(KF_DEP_VERSION "6.25.0") # handled by release scripts project(kirigami2 VERSION ${KF_VERSION}) -set(REQUIRED_QT_VERSION 6.8.0) +set(REQUIRED_QT_VERSION 6.9.0) ################# Disallow in-source build ################# @@ -20,7 +20,7 @@ if(DEFINED STATIC_LIBRARY) message(FATAL_ERROR "Use the BUILD_SHARED_LIBS=OFF option to build a static library, STATIC_LIBRARY is no longer a supported option") endif() -find_package(ECM 6.24.0 REQUIRED NO_MODULE) +find_package(ECM 6.25.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH}) if (NOT ${BUILD_SHARED_LIBS}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/poqm/de/libkirigami6_qt.po new/kirigami-6.25.0/poqm/de/libkirigami6_qt.po --- old/kirigami-6.24.0/poqm/de/libkirigami6_qt.po 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/poqm/de/libkirigami6_qt.po 2026-04-03 19:09:58.000000000 +0200 @@ -1,20 +1,21 @@ -# SPDX-FileCopyrightText: 2024 Johannes Obermayr <[email protected]> -# SPDX-FileCopyrightText: 2016, 2018, 2020, 2021, 2022, 2023 Frederik Schwarzer <[email protected]> -# SPDX-FileCopyrightText: 2017, 2018, 2019, 2020, 2021 Burkhard Lück <[email protected]> +# SPDX-FileCopyrightText: 2016, 2018, 2020-2023 Frederik Schwarzer <[email protected]> +# SPDX-FileCopyrightText: 2017-2021 Burkhard Lück <[email protected]> # SPDX-FileCopyrightText: 2021, 2025, 2026 Alois Spitzbart <[email protected]> +# SPDX-FileCopyrightText: 2024 Johannes Obermayr <[email protected]> # SPDX-FileCopyrightText: 2025 Flori G <[email protected]> +# SPDX-FileCopyrightText: 2026 Alexander Becker <[email protected]> msgid "" msgstr "" "Project-Id-Version: libkirigami6_qt\n" -"PO-Revision-Date: 2026-01-05 19:49+0100\n" -"Last-Translator: Alois Spitzbart <[email protected]>\n" +"PO-Revision-Date: 2026-03-13 00:13+0100\n" +"Last-Translator: Alexander Becker <[email protected]>\n" "Language-Team: German <[email protected]>\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Lokalize 25.12.0\n" +"X-Generator: Lokalize 25.12.3\n" "X-Qt-Contexts: true\n" #: controls/AboutItem.qml:166 @@ -134,7 +135,7 @@ #: controls/LoadingPlaceholder.qml:58 msgctxt "LoadingPlaceholder|" msgid "Loading…" -msgstr "Wird geladen ..." +msgstr "Wird geladen …" #: controls/PasswordField.qml:43 msgctxt "PasswordField|" @@ -175,12 +176,10 @@ #, qt-format msgctxt "@info:tooltip %1 is a keyboard shorcut|" msgid "Trigger this action with %1" -msgstr "" +msgstr "Diese Aktion mit %1 auslösen" #: controls/private/PrivateActionToolButton.qml:125 -#, fuzzy, qt-format -#| msgctxt "AboutItem|" -#| msgid "%1 (%2)" +#, qt-format msgctxt "" "@info:tooltip %1 is the tooltip of an action, %2 is its keyboard shorcut|" msgid "%1 (%2)" @@ -189,7 +188,7 @@ #: controls/SearchField.qml:88 msgctxt "SearchField|" msgid "Search…" -msgstr "Suchen ..." +msgstr "Suchen …" #: controls/SearchField.qml:90 msgctxt "SearchField|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/poqm/nb/libkirigami6_qt.po new/kirigami-6.25.0/poqm/nb/libkirigami6_qt.po --- old/kirigami-6.24.0/poqm/nb/libkirigami6_qt.po 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/poqm/nb/libkirigami6_qt.po 2026-04-03 19:09:58.000000000 +0200 @@ -3,15 +3,15 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"PO-Revision-Date: 2025-03-13 15:04+0100\n" -"Last-Translator: Martin Hansen <[email protected]>\n" +"PO-Revision-Date: 2026-03-03 12:14+0100\n" +"Last-Translator: Kjetil Sorlund <[email protected]>\n" "Language-Team: Norwegian Bokmål <[email protected]>\n" "Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Lokalize 24.12.3\n" +"X-Generator: Lokalize 25.12.2\n" "X-Environment: kde\n" "X-Accelerator-Marker: &\n" "X-Text-Markup: qtrich\n" @@ -102,10 +102,9 @@ msgstr "Flere handlinger" #: controls/Chip.qml:45 -#, fuzzy msgctxt "Chip|" msgid "Remove" -msgstr "Fjern merkelapp" +msgstr "Fjern" #: controls/ContextDrawer.qml:65 msgctxt "ContextDrawer|" @@ -153,25 +152,21 @@ msgstr "Vis passord" #: controls/private/globaltoolbar/HandleButton.qml:24 -#, fuzzy msgctxt "HandleButton|" msgid "Close menu" msgstr "Lukk meny" #: controls/private/globaltoolbar/HandleButton.qml:24 -#, fuzzy msgctxt "HandleButton|" msgid "Open menu" msgstr "Åpne meny" #: controls/private/globaltoolbar/NavigationButtons.qml:102 -#, fuzzy msgctxt "NavigationButtons|" msgid "Navigate Back" msgstr "Naviger tilbake" #: controls/private/globaltoolbar/NavigationButtons.qml:119 -#, fuzzy msgctxt "NavigationButtons|" msgid "Navigate Forward" msgstr "Naviger frem" @@ -180,10 +175,10 @@ #, qt-format msgctxt "@info:tooltip %1 is a keyboard shorcut|" msgid "Trigger this action with %1" -msgstr "" +msgstr "Utløs denne handlingen med %1" #: controls/private/PrivateActionToolButton.qml:125 -#, fuzzy, qt-format +#, qt-format msgctxt "" "@info:tooltip %1 is the tooltip of an action, %2 is its keyboard shorcut|" msgid "%1 (%2)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/poqm/ro/libkirigami6_qt.po new/kirigami-6.25.0/poqm/ro/libkirigami6_qt.po --- old/kirigami-6.24.0/poqm/ro/libkirigami6_qt.po 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/poqm/ro/libkirigami6_qt.po 2026-04-03 19:09:58.000000000 +0200 @@ -1,8 +1,8 @@ -# Sergiu Bivol <[email protected]>, 2020, 2021, 2022. +# SPDX-FileCopyrightText: 2020, 2021, 2022, 2026 Sergiu Bivol <[email protected]> msgid "" msgstr "" "Project-Id-Version: \n" -"PO-Revision-Date: 2022-12-28 20:59+0000\n" +"PO-Revision-Date: 2026-03-31 13:55+0100\n" "Last-Translator: Sergiu Bivol <[email protected]>\n" "Language-Team: Romanian <[email protected]>\n" "Language: ro\n" @@ -11,7 +11,7 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" -"X-Generator: Lokalize 21.12.3\n" +"X-Generator: Lokalize 25.12.3\n" "X-Qt-Contexts: true\n" #: controls/AboutItem.qml:166 @@ -34,15 +34,12 @@ #: controls/AboutItem.qml:234 msgctxt "AboutItem|" msgid "Donate" -msgstr "" +msgstr "Donați" #: controls/AboutItem.qml:251 -#, fuzzy -#| msgctxt "AboutPage|" -#| msgid "Report Bug…" msgctxt "AboutItem|" msgid "Report a Bug" -msgstr "Raportează defect…" +msgstr "Raportați un defect" #: controls/AboutItem.qml:264 msgctxt "AboutItem|" @@ -102,12 +99,9 @@ msgstr "Acțiuni suplimentare" #: controls/Chip.qml:45 -#, fuzzy -#| msgctxt "Chip|" -#| msgid "Remove Tag" msgctxt "Chip|" msgid "Remove" -msgstr "Elimină marcajul" +msgstr "Elimină" #: controls/ContextDrawer.qml:65 msgctxt "ContextDrawer|" @@ -117,7 +111,7 @@ #: controls/ContextualHelpButton.qml:59 msgctxt "ContextualHelpButton|" msgid "Show Contextual Help" -msgstr "" +msgstr "Arată ajutor contextual" #: controls/GlobalDrawer.qml:366 msgctxt "GlobalDrawer|" @@ -145,49 +139,31 @@ msgstr "Parolă" #: controls/PasswordField.qml:46 -#, fuzzy -#| msgctxt "PasswordField|" -#| msgid "Password" msgctxt "PasswordField|" msgid "Hide Password" -msgstr "Parolă" +msgstr "Ascunde parola" #: controls/PasswordField.qml:46 -#, fuzzy -#| msgctxt "PasswordField|" -#| msgid "Password" msgctxt "PasswordField|" msgid "Show Password" -msgstr "Parolă" +msgstr "Arată parola" #: controls/private/globaltoolbar/HandleButton.qml:24 -#, fuzzy -#| msgctxt "OverlayDrawer|" -#| msgid "Close" msgctxt "HandleButton|" msgid "Close menu" -msgstr "Închide" +msgstr "Închide meniul" #: controls/private/globaltoolbar/HandleButton.qml:24 -#, fuzzy -#| msgctxt "OverlayDrawer|" -#| msgid "Open" msgctxt "HandleButton|" msgid "Open menu" -msgstr "Deschide" +msgstr "Deschide meniul" #: controls/private/globaltoolbar/NavigationButtons.qml:102 -#, fuzzy -#| msgctxt "BackButton|" -#| msgid "Navigate Back" msgctxt "NavigationButtons|" msgid "Navigate Back" msgstr "Navighează înapoi" #: controls/private/globaltoolbar/NavigationButtons.qml:119 -#, fuzzy -#| msgctxt "ForwardButton|" -#| msgid "Navigate Forward" msgctxt "NavigationButtons|" msgid "Navigate Forward" msgstr "Navighează înainte" @@ -196,12 +172,10 @@ #, qt-format msgctxt "@info:tooltip %1 is a keyboard shorcut|" msgid "Trigger this action with %1" -msgstr "" +msgstr "Declanșați această acțiune cu %1" #: controls/private/PrivateActionToolButton.qml:125 -#, fuzzy, qt-format -#| msgctxt "AboutItem|" -#| msgid "%1 (%2)" +#, qt-format msgctxt "" "@info:tooltip %1 is the tooltip of an action, %2 is its keyboard shorcut|" msgid "%1 (%2)" @@ -220,34 +194,28 @@ #: controls/SearchField.qml:100 msgctxt "SearchField|" msgid "Clear search" -msgstr "" +msgstr "Șterge căutarea" #: controls/SelectableLabel.qml:297 -#, fuzzy -#| msgctxt "AboutItem|" -#| msgid "Copyright" msgctxt "SelectableLabel|" msgid "Copy" -msgstr "Drept de autor" +msgstr "Copiază" #: controls/SelectableLabel.qml:310 msgctxt "SelectableLabel|" msgid "Select All" -msgstr "" +msgstr "Selectează tot" #: controls/UrlButton.qml:52 #, qt-format msgctxt "UrlButton|@info:whatsthis" msgid "Open link %1" -msgstr "" +msgstr "Deschide legătura %1" #: controls/UrlButton.qml:53 -#, fuzzy -#| msgctxt "OverlayDrawer|" -#| msgid "Open" msgctxt "UrlButton|@info:whatsthis" msgid "Open link" -msgstr "Deschide" +msgstr "Deschide legătura" #: controls/UrlButton.qml:101 msgctxt "UrlButton|" @@ -255,33 +223,24 @@ msgstr "Copiază legătura în clipboard" #: dialogs/DialogHeaderTopContent.qml:103 -#, fuzzy -#| msgctxt "OverlayDrawer|" -#| msgid "Close" msgctxt "DialogHeaderTopContent|@action:button close dialog" msgid "Close" msgstr "Închide" #: platform/settings.cpp:219 -#, fuzzy, qt-format -#| msgctxt "Settings|" -#| msgid "KDE Frameworks %1" +#, qt-format msgctxt "Kirigami::Platform::Settings|" msgid "KDE Frameworks %1" msgstr "KDE Frameworks %1" #: platform/settings.cpp:221 -#, fuzzy, qt-format -#| msgctxt "Settings|" -#| msgid "The %1 windowing system" +#, qt-format msgctxt "Kirigami::Platform::Settings|" msgid "The %1 windowing system" msgstr "Sistemul de ferestre %1" #: platform/settings.cpp:222 -#, fuzzy, qt-format -#| msgctxt "Settings|" -#| msgid "Qt %2 (built against %3)" +#, qt-format msgctxt "Kirigami::Platform::Settings|" msgid "Qt %2 (built against %3)" msgstr "Qt %2 (construit cu %3)" @@ -289,27 +248,24 @@ #: templates/InlineMessage.qml:350 msgctxt "InlineMessage|" msgid "Success" -msgstr "" +msgstr "Succes" #: templates/InlineMessage.qml:352 msgctxt "InlineMessage|" msgid "Warning" -msgstr "" +msgstr "Avertisment" #: templates/InlineMessage.qml:354 msgctxt "InlineMessage|" msgid "Error" -msgstr "" +msgstr "Eroare" #: templates/InlineMessage.qml:356 msgctxt "InlineMessage|" msgid "Note" -msgstr "" +msgstr "Notă" #: templates/InlineMessage.qml:443 -#, fuzzy -#| msgctxt "OverlayDrawer|" -#| msgid "Close" msgctxt "InlineMessage|" msgid "Close" msgstr "Închide" @@ -325,9 +281,6 @@ msgstr "Deschide sertarul" #: templates/OverlaySheet.qml:294 -#, fuzzy -#| msgctxt "OverlayDrawer|" -#| msgid "Close" msgctxt "OverlaySheet|@action:button close dialog" msgid "Close" msgstr "Închide" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/src/controls/AboutItem.qml new/kirigami-6.25.0/src/controls/AboutItem.qml --- old/kirigami-6.24.0/src/controls/AboutItem.qml 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/src/controls/AboutItem.qml 2026-04-03 19:09:58.000000000 +0200 @@ -293,7 +293,7 @@ id: licenseSheet property alias text: bodyLabel.text - contentItem: SelectableLabel { + SelectableLabel { id: bodyLabel text: licenseSheet.text wrapMode: Text.Wrap diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/src/controls/CMakeLists.txt new/kirigami-6.25.0/src/controls/CMakeLists.txt --- old/kirigami-6.24.0/src/controls/CMakeLists.txt 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/src/controls/CMakeLists.txt 2026-04-03 19:09:58.000000000 +0200 @@ -9,6 +9,7 @@ org.kde.kirigami.platform org.kde.kirigami.primitives org.kde.kirigami.templates + NO_LINT # https://qt-project.atlassian.net/browse/QTBUG-145572 ) ecm_qt_declare_logging_category(KirigamiControls diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/src/controls/LinkButton.qml new/kirigami-6.25.0/src/controls/LinkButton.qml --- old/kirigami-6.24.0/src/controls/LinkButton.qml 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/src/controls/LinkButton.qml 2026-04-03 19:09:58.000000000 +0200 @@ -5,134 +5,12 @@ */ import QtQuick -import QtQuick.Controls as QQC2 -import QtQuick.Templates as T -import org.kde.kirigami.platform as Platform - -/*! - \qmltype LinkButton - \inqmlmodule org.kde.kirigami - \brief A button that looks like a link. - - It uses the color scheme's link color, and triggers an action when clicked. - - This component should not be used directly; prefer an actual button to - navigate within the app or trigger actions, and prefer a \l UrlButton to - display a link to a web site or other remote resource. See also - \l https://develop.kde.org/hig/getting_input/#signaling-interactivity - - \since 5.52 - */ -QQC2.Label { - id: control - - /*! - \qmlproperty Action action - An action that will be triggered when the button is clicked - - default: \c null; set an action to make it work. - */ - property T.Action action - - /*! - \qmlproperty Qt::MouseButtons LinkButton::acceptedButtons - \brief This property holds the mouse buttons that the mouse area reacts to. - \sa MouseArea::acceptedButtons - - default: \c Qt.LeftButton - */ - property alias acceptedButtons: area.acceptedButtons - - /*! - \qmlproperty MouseArea LinkButton::mouseArea - \brief This property holds the mouse area element covering the button. - */ - property alias mouseArea: area - - /*! - This property holds the normal color of the link when not pressed - or disabled. - - default: \c Kirigami.Theme.linkColor - */ - property color normalColor: Platform.Theme.linkColor - - /*! - This property holds the color of the link while pressed. - - default: Whatever the normal color is set to, but 200% darker. - */ - property color pressedColor: Qt.darker(normalColor) - - /*! - This property holds the color of the link when disabled. - - default: \c Kirigami.Theme.textColor - */ - property color disabledColor: Platform.Theme.textColor - - activeFocusOnTab: true - Accessible.role: Accessible.Button - Accessible.name: text - Accessible.onPressAction: clicked({ button: Qt.LeftButton }) - - text: action?.text ?? "" - enabled: action?.enabled ?? true - - onClicked: action?.trigger() +import org.kde.kirigami.templates as KT +KT.LinkButton { font.bold: activeFocus font.underline: enabled - color: if (!enabled) { - return control.disabledColor; - } else if (area.containsPress) { - return control.pressedColor; - } else { - return control.normalColor; - } horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter elide: Text.ElideRight - - signal pressed(var mouse) - signal clicked(var mouse) - - Keys.onPressed: event => { - switch (event.key) { - case Qt.Key_Space: - case Qt.Key_Enter: - case Qt.Key_Return: - case Qt.Key_Select: - control.clicked({ button: Qt.LeftButton }); - event.accepted = true; - break; - case Qt.Key_Menu: - control.pressed({ button: Qt.RightButton }); - event.accepted = true; - break; - } - } - - MouseArea { - id: area - width: control.contentWidth + control.leftPadding + control.rightPadding - height: control.implicitHeight - x: { - switch (control.effectiveHorizontalAlignment) { - case Text.AlignLeft: - case Text.AlignJustify: - return 0; - case Text.AlignRight: - return control.width - width; - case Text.AlignHCenter: - return (control.width - width) / 2; - } - } - - hoverEnabled: true - cursorShape: Qt.PointingHandCursor - - onClicked: mouse => control.clicked(mouse) - onPressed: mouse => control.pressed(mouse) - } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/src/controls/PageRow.qml new/kirigami-6.25.0/src/controls/PageRow.qml --- old/kirigami-6.24.0/src/controls/PageRow.qml 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/src/controls/PageRow.qml 2026-04-03 19:09:58.000000000 +0200 @@ -356,6 +356,11 @@ window.close(); } }); + window.visibleChanged.connect(() => { + if (!window.visible) { + window.destroy(); + } + }); } // Escape is considered a shortcut, so we need to override it. Or else we don't get any events! item.Keys.shortcutOverride.connect(event => event.accepted = (event.key === Qt.Key_Escape)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/src/delegates/TitleSubtitle.qml new/kirigami-6.25.0/src/delegates/TitleSubtitle.qml --- old/kirigami-6.24.0/src/delegates/TitleSubtitle.qml 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/src/delegates/TitleSubtitle.qml 2026-04-03 19:09:58.000000000 +0200 @@ -94,6 +94,10 @@ */ property bool selected: false /*! + The way the text property for the title and subtitle should be displayed. + */ + property int textFormat: Text.AutoText + /*! Is the subtitle visible? */ // Note: Don't rely on subtitleItem.visible because visibility is an @@ -135,6 +139,7 @@ font: root.font elide: root.elide wrapMode: root.wrapMode + textFormat: root.textFormat onLinkActivated: link => root.linkActivated(link) onLinkHovered: link => root.linkHovered(link) @@ -172,6 +177,7 @@ font: root.subtitleFont elide: root.elide wrapMode: root.wrapMode + textFormat: root.textFormat visible: text.length > 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/src/platform/styleselector.cpp new/kirigami-6.25.0/src/platform/styleselector.cpp --- old/kirigami-6.24.0/src/platform/styleselector.cpp 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/src/platform/styleselector.cpp 2026-04-03 19:09:58.000000000 +0200 @@ -127,8 +127,8 @@ importPaths.append(QCoreApplication::applicationDirPath()); importPaths.append(qEnvironmentVariable("QML_IMPORT_PATH").split(QDir::listSeparator())); importPaths.append(qEnvironmentVariable("QML2_IMPORT_PATH").split(QDir::listSeparator())); - importPaths.append(u":/qt/qml"_s); importPaths.append(QLibraryInfo::paths(QLibraryInfo::QmlImportsPath)); + importPaths.append(u":/qt/qml"_s); for (auto path : importPaths) { if (!QFile::exists(path)) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/src/templates/CMakeLists.txt new/kirigami-6.25.0/src/templates/CMakeLists.txt --- old/kirigami-6.24.0/src/templates/CMakeLists.txt 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/src/templates/CMakeLists.txt 2026-04-03 19:09:58.000000000 +0200 @@ -4,6 +4,7 @@ VERSION 2.0 GENERATE_PLUGIN_SOURCE INSTALLED_PLUGIN_TARGET KF6KirigamiTemplates + NO_LINT # https://qt-project.atlassian.net/browse/QTBUG-145572 ) set_source_files_properties(AppHeaderSizeGroup.qml PROPERTIES @@ -17,6 +18,7 @@ Chip.qml Heading.qml InlineMessage.qml + LinkButton.qml NavigationTabBar.qml NavigationTabButton.qml OverlayDrawer.qml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/src/templates/LinkButton.qml new/kirigami-6.25.0/src/templates/LinkButton.qml --- old/kirigami-6.24.0/src/templates/LinkButton.qml 1970-01-01 01:00:00.000000000 +0100 +++ new/kirigami-6.25.0/src/templates/LinkButton.qml 2026-04-03 19:09:58.000000000 +0200 @@ -0,0 +1,134 @@ +/* + * SPDX-FileCopyrightText: 2018 Aleix Pol Gonzalez <[email protected]> + * SPDX-FileCopyrightText: 2026 Akseli Lahtinen <[email protected]> + * + * SPDX-License-Identifier: LGPL-2.0-or-later + */ + +import QtQuick +import QtQuick.Controls as QQC2 +import QtQuick.Templates as T +import org.kde.kirigami.platform as Platform + +/*! + * \qmltype LinkButton + * \inqmlmodule org.kde.kirigami + * \brief A button that looks like a link. + * + * It uses the color scheme's link color, and triggers an action when clicked. + * + * This component should not be used directly; prefer an actual button to + * navigate within the app or trigger actions, and prefer a \l UrlButton to + * display a link to a web site or other remote resource. See also + * \l https://develop.kde.org/hig/getting_input/#signaling-interactivity + * + * \since 5.52 + */ +QQC2.Label { + id: control + + /*! + * \qmlproperty Action action + * An action that will be triggered when the button is clicked + * + * default: \c null; set an action to make it work. + */ + property T.Action action + + /*! + * \qmlproperty Qt::MouseButtons LinkButton::acceptedButtons + * \brief This property holds the mouse buttons that the mouse area reacts to. + * \sa MouseArea::acceptedButtons + * + * default: \c Qt.LeftButton + */ + property alias acceptedButtons: area.acceptedButtons + + /*! + * \qmlproperty MouseArea LinkButton::mouseArea + * \brief This property holds the mouse area element covering the button. + */ + property alias mouseArea: area + + /*! + * This property holds the normal color of the link when not pressed + * or disabled. + * + * default: \c Kirigami.Theme.linkColor + */ + property color normalColor: Platform.Theme.linkColor + + /*! + * This property holds the color of the link while pressed. + * + * default: Whatever the normal color is set to, but 200% darker. + */ + property color pressedColor: Qt.darker(normalColor) + + /*! + * This property holds the color of the link when disabled. + * + * default: \c Kirigami.Theme.textColor + */ + property color disabledColor: Platform.Theme.textColor + + activeFocusOnTab: true + Accessible.role: Accessible.Button + Accessible.name: text + Accessible.onPressAction: clicked({ button: Qt.LeftButton }) + + text: action?.text ?? "" + enabled: action?.enabled ?? true + + onClicked: action?.trigger() + + color: if (!enabled) { + return control.disabledColor; + } else if (area.containsPress) { + return control.pressedColor; + } else { + return control.normalColor; + } + + signal pressed(var mouse) + signal clicked(var mouse) + + Keys.onPressed: event => { + switch (event.key) { + case Qt.Key_Space: + case Qt.Key_Enter: + case Qt.Key_Return: + case Qt.Key_Select: + control.clicked({ button: Qt.LeftButton }); + event.accepted = true; + break; + case Qt.Key_Menu: + control.pressed({ button: Qt.RightButton }); + event.accepted = true; + break; + } + } + + MouseArea { + id: area + width: control.contentWidth + control.leftPadding + control.rightPadding + height: control.implicitHeight + x: { + switch (control.effectiveHorizontalAlignment) { + case Text.AlignLeft: + case Text.AlignJustify: + return 0; + case Text.AlignRight: + return control.width - width; + case Text.AlignHCenter: + return (control.width - width) / 2; + } + } + + hoverEnabled: true + cursorShape: Qt.PointingHandCursor + + onClicked: mouse => control.clicked(mouse) + onPressed: mouse => control.pressed(mouse) + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/templates/kirigami6/CMakeLists.txt new/kirigami-6.25.0/templates/kirigami6/CMakeLists.txt --- old/kirigami-6.24.0/templates/kirigami6/CMakeLists.txt 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/templates/kirigami6/CMakeLists.txt 2026-04-03 19:09:58.000000000 +0200 @@ -5,8 +5,6 @@ project(%{APPNAMELC} VERSION 0.1) -include(FeatureSummary) - set(QT6_MIN_VERSION 6.5.0) set(KF6_MIN_VERSION 6.12.0) @@ -48,7 +46,7 @@ install(FILES org.kde.%{APPNAMELC}.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) ki18n_install(po) -feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) +feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) if (NOT ANDROID) file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES src/*.cpp src/*.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kirigami-6.24.0/templates/kirigami6/kirigami.kdevtemplate new/kirigami-6.25.0/templates/kirigami6/kirigami.kdevtemplate --- old/kirigami-6.24.0/templates/kirigami6/kirigami.kdevtemplate 2026-03-07 21:31:28.000000000 +0100 +++ new/kirigami-6.25.0/templates/kirigami6/kirigami.kdevtemplate 2026-04-03 19:09:58.000000000 +0200 @@ -28,6 +28,7 @@ Name[nn]=Kirigami-program (Qt6) Name[pl]=Aplikacja Kirigami (Qt6) Name[pt_BR]=Aplicativo Kirigami (Qt6) +Name[ro]=Aplicație Kirigami (Qt6) Name[ru]=Приложение Kirigami (Qt6) Name[sa]=किरिगामी अनुप्रयोग (Qt6) 1.1. Name[sl]=Aplikacija Kirigami (Qt6)
