From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0430B158F58 for ; Mon, 16 Aug 2021 20:48:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAD60E0CD5; Sun, 15 Aug 2021 18:58:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBA22E0CD4 for ; Sun, 15 Aug 2021 18:58:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 862DD3455F3 for ; Sun, 15 Aug 2021 18:57:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 35C987DE for ; Sun, 15 Aug 2021 18:57:58 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1629053799.3f84f6af2f02d2e5d2f5031e1cf87441a1ff7b35.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/plasma/, kde-frameworks/plasma/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-frameworks/plasma/files/plasma-5.85.0-fix-pinned-calendar-dots.patch kde-frameworks/plasma/plasma-5.85.0-r1.ebuild X-VCS-Directories: kde-frameworks/plasma/files/ kde-frameworks/plasma/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 3f84f6af2f02d2e5d2f5031e1cf87441a1ff7b35 X-VCS-Branch: master Date: Sun, 15 Aug 2021 18:57:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f242722a-8041-4619-b0f0-3bbb55dacbab X-Archives-Hash: 04ce1cabd85633c8efc67c51202fa5cc commit: 3f84f6af2f02d2e5d2f5031e1cf87441a1ff7b35 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Aug 15 18:23:01 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Aug 15 18:56:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f84f6af kde-frameworks/plasma: Fix pinned calendar showing wrong no. of dots Upstream commit 19fe24ef9377178413438d7749630053995af229 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=440627 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> .../plasma-5.85.0-fix-pinned-calendar-dots.patch | 37 ++++++++++++++++++++++ kde-frameworks/plasma/plasma-5.85.0-r1.ebuild | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/kde-frameworks/plasma/files/plasma-5.85.0-fix-pinned-calendar-dots.patch b/kde-frameworks/plasma/files/plasma-5.85.0-fix-pinned-calendar-dots.patch new file mode 100644 index 00000000000..0342024ca89 --- /dev/null +++ b/kde-frameworks/plasma/files/plasma-5.85.0-fix-pinned-calendar-dots.patch @@ -0,0 +1,37 @@ +From 19fe24ef9377178413438d7749630053995af229 Mon Sep 17 00:00:00 2001 +From: Eugene Popov +Date: Mon, 9 Aug 2021 15:56:02 +0000 +Subject: [PATCH] [Calendar] Fix pinned calendar displaying the wrong number of + dots + +Use assignment instead of binding for the rootIndex property of the DelegateModel. + +BUG: 440627 +FIXED-IN: 5.86 +--- + src/declarativeimports/calendar/qml/DayDelegate.qml | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/declarativeimports/calendar/qml/DayDelegate.qml b/src/declarativeimports/calendar/qml/DayDelegate.qml +index af31991db..3f7fc681b 100644 +--- a/src/declarativeimports/calendar/qml/DayDelegate.qml ++++ b/src/declarativeimports/calendar/qml/DayDelegate.qml +@@ -81,13 +81,14 @@ PlasmaComponents3.AbstractButton { + Repeater { + model: DelegateModel { + model: dayStyle.dayModel +- rootIndex: modelIndex(index) + delegate: Rectangle { + width: PlasmaCore.Units.smallSpacing * 1.5 + height: width + radius: width / 2 + color: model.eventColor ? Kirigami.ColorUtils.linearInterpolation(model.eventColor, PlasmaCore.Theme.textColor, 0.2) : PlasmaCore.Theme.highlightColor + } ++ ++ Component.onCompleted: rootIndex = modelIndex(index) + } + } + } +-- +GitLab + diff --git a/kde-frameworks/plasma/plasma-5.85.0-r1.ebuild b/kde-frameworks/plasma/plasma-5.85.0-r1.ebuild index 92d12a32c09..2051388092d 100644 --- a/kde-frameworks/plasma/plasma-5.85.0-r1.ebuild +++ b/kde-frameworks/plasma/plasma-5.85.0-r1.ebuild @@ -61,7 +61,10 @@ DEPEND="${RDEPEND} X? ( x11-base/xorg-proto ) " -PATCHES=( "${FILESDIR}"/${P}-fix-plasma-scaling-w-int-scale-factors.patch ) +PATCHES=( + "${FILESDIR}"/${P}-fix-plasma-scaling-w-int-scale-factors.patch + "${FILESDIR}"/${P}-fix-pinned-calendar-dots.patch # KDE-bug 440627 +) src_configure() { local mycmakeargs=(