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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD50B15808B for ; Fri, 15 Apr 2022 18:27:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15FF6E093E; Fri, 15 Apr 2022 18:27:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8123E093E for ; Fri, 15 Apr 2022 18:27:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4E6F341CEE for ; Fri, 15 Apr 2022 18:27:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DA592E0 for ; Fri, 15 Apr 2022 18:27:35 +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: <1650047220.4ab71f2653b05f6f08d5fee913c5d0c3db2d195c.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.93.0-fix-widget-popups.patch kde-frameworks/plasma/plasma-5.93.0-r1.ebuild kde-frameworks/plasma/plasma-5.93.0.ebuild X-VCS-Directories: kde-frameworks/plasma/ kde-frameworks/plasma/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4ab71f2653b05f6f08d5fee913c5d0c3db2d195c X-VCS-Branch: master Date: Fri, 15 Apr 2022 18:27:35 +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: 04cc4896-881c-4c03-8d96-60aceafd08de X-Archives-Hash: 6a119cfbf712cc2ffc34f10f9f5d6a06 commit: 4ab71f2653b05f6f08d5fee913c5d0c3db2d195c Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Apr 15 18:25:47 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Apr 15 18:27:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab71f26 kde-frameworks/plasma: Dialog: Do not upd. layout params while hidden See also: https://mail.kde.org/pipermail/distributions/2022-April/001216.html KDE-bug: https://bugs.kde.org/show_bug.cgi?id=452512 Upstream commit b62d83bef7733e4943e6f66787166b41198d1359 Closes: https://bugs.gentoo.org/838661 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/plasma-5.93.0-fix-widget-popups.patch | 29 ++++++++++++++++++++++ ...lasma-5.93.0.ebuild => plasma-5.93.0-r1.ebuild} | 5 +++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/kde-frameworks/plasma/files/plasma-5.93.0-fix-widget-popups.patch b/kde-frameworks/plasma/files/plasma-5.93.0-fix-widget-popups.patch new file mode 100644 index 000000000000..7f95c6531a95 --- /dev/null +++ b/kde-frameworks/plasma/files/plasma-5.93.0-fix-widget-popups.patch @@ -0,0 +1,29 @@ +From b62d83bef7733e4943e6f66787166b41198d1359 Mon Sep 17 00:00:00 2001 +From: Aleix Pol +Date: Wed, 13 Apr 2022 16:05:32 +0200 +Subject: [PATCH] Dialog: Do not update layout parameters while hidden + +Wait until the dialog it's shown to position the components within. +Otherwise we do it based on a random size. + +BUG: 452512 +--- + src/plasmaquick/dialog.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp +index 09937ef0f..9ca2c8a66 100644 +--- a/src/plasmaquick/dialog.cpp ++++ b/src/plasmaquick/dialog.cpp +@@ -475,7 +475,7 @@ void DialogPrivate::getSizeHints(QSize &min, QSize &max) const + + void DialogPrivate::updateLayoutParameters() + { +- if (!componentComplete || !mainItem || !mainItemLayout) { ++ if (!componentComplete || !mainItem || !mainItemLayout || q->visibility() == QWindow::Hidden) { + return; + } + +-- +GitLab + diff --git a/kde-frameworks/plasma/plasma-5.93.0.ebuild b/kde-frameworks/plasma/plasma-5.93.0-r1.ebuild similarity index 92% rename from kde-frameworks/plasma/plasma-5.93.0.ebuild rename to kde-frameworks/plasma/plasma-5.93.0-r1.ebuild index 8203773544a2..1548d3671d1d 100644 --- a/kde-frameworks/plasma/plasma-5.93.0.ebuild +++ b/kde-frameworks/plasma/plasma-5.93.0-r1.ebuild @@ -59,7 +59,10 @@ DEPEND="${RDEPEND} " BDEPEND="man? ( >=kde-frameworks/kdoctools-${PVCUT}:5 )" -PATCHES=( "${FILESDIR}/${PN}-5.92.0-fix-blurry-buttons.patch" ) # KDE-bug 447977 +PATCHES=( + "${FILESDIR}/${PN}-5.92.0-fix-blurry-buttons.patch" # KDE-bug 447977 + "${FILESDIR}/${P}-fix-widget-popups.patch" # bug 838661, KDE-bug 452512 +) src_configure() { local mycmakeargs=(