epel9
Rex Dieter 3 years ago
parent 5814831ecc
commit a5dadedb97

1
.gitignore vendored

@ -56,3 +56,4 @@
/kirigami2-5.91.0.tar.xz
/kirigami2-5.92.0.tar.xz
./kirigami2-5.93.tar.xz
/kirigami2-5.94.0.tar.xz

@ -1,49 +0,0 @@
From 57187b7e6a1c6396c95b9450ff4c8acb8e70f431 Mon Sep 17 00:00:00 2001
From: Aleix Pol <aleixpol@kde.org>
Date: Tue, 5 Apr 2022 00:40:27 +0200
Subject: [PATCH] AboutPage: Prevent infinite loop
Do not use the width of the item but the width of the page to decide if
we are on wide mode in the FormLayout.
For some reason our default height hits a perfect storm of:
- growing past the page height
- adds a scrollbar
- this narrows the view and we enable the compact mode
- this makes it fit again
- goto 0
BUG: 447958
---
src/controls/AboutItem.qml | 2 ++
src/controls/AboutPage.qml | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/controls/AboutItem.qml b/src/controls/AboutItem.qml
index fbc720a1..675bab44 100644
--- a/src/controls/AboutItem.qml
+++ b/src/controls/AboutItem.qml
@@ -74,6 +74,8 @@ Item
/** @internal */
property bool _usePageStack: false
+ property alias wideMode: form.wideMode
+
/** @internal */
default property alias _content: form.data
diff --git a/src/controls/AboutPage.qml b/src/controls/AboutPage.qml
index e0043343..22994940 100644
--- a/src/controls/AboutPage.qml
+++ b/src/controls/AboutPage.qml
@@ -95,6 +95,7 @@ ScrollablePage
AboutItem {
id: aboutItem
+ wideMode: page.width >= aboutItem.implicitWidth
_usePageStack: applicationWindow().pageStack ? true : false
}
--
GitLab

@ -8,8 +8,8 @@
%endif
Name: kf5-%{framework}
Version: 5.93.0
Release: 2%{?dist}
Version: 5.94.0
Release: 1%{?dist}
Summary: QtQuick plugins to build user interfaces based on the KDE UX guidelines
# All LGPLv2+ except for src/desktopicons.h (GPLv2+)
@ -26,9 +26,6 @@ URL: https://techbase.kde.org/Kirigami
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
## upstream paches
# Backport of "AboutPage: Prevent infinite loop" (Fixes RHBZ#2057563)
# https://invent.kde.org/frameworks/kirigami/-/merge_requests/521
Patch01: 521.patch
# filter qml provides
%global __provides_exclude_from ^%{_kf5_qmldir}/.*\\.so$
@ -126,6 +123,9 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
%changelog
* Fri May 13 2022 Rex Dieter <rdieter@fedoraproject.org> - 5.94.0-1
- 5.94.0
* Mon Apr 11 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 5.93-2
- Backport of "AboutPage: Prevent infinite loop" (Fixes RHBZ#2057563)

@ -1,2 +1 @@
SHA512 (kirigami2-5.92.0.tar.xz) = 42d75b8931f28ce2fa200c19acfc9194518b856dd33d9bbeb490f24ddb0ae03ba7c01443a5bc2a07088de69a9300245434460ddcd28cb2b1caa2f2288e45405a
SHA512 (kirigami2-5.93.0.tar.xz) = 372d464a79dafa061e4c07528c4765445b89988bbbf345019a8f544c4012a0c64abf8a07d4b97b4d1874af6753cb357b4f11d958face1ce17b3de8e6daddded2
SHA512 (kirigami2-5.94.0.tar.xz) = e836f45729f54a5c83c7dd5bb5def3e36f73cd6367456953bab8e3bdd87c6bf9845ff3f4f0458f289c0450a4ac02a8fe1984458a591172e9e87b782ac59f9a6f

Loading…
Cancel
Save