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 C6464158094 for ; Fri, 23 Sep 2022 20:07:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5980E0DD3; Fri, 23 Sep 2022 20:07:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 8E393E0DD1 for ; Fri, 23 Sep 2022 20:07:42 +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 C6F04340E39 for ; Fri, 23 Sep 2022 20:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 902C05FF for ; Fri, 23 Sep 2022 20:07:38 +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: <1663963636.decd45a692fd074be7165ffd4f5e269fc94bf2dd.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-workspace/files/, kde-plasma/plasma-workspace/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r3.ebuild X-VCS-Directories: kde-plasma/plasma-workspace/files/ kde-plasma/plasma-workspace/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: decd45a692fd074be7165ffd4f5e269fc94bf2dd X-VCS-Branch: master Date: Fri, 23 Sep 2022 20:07:38 +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: 0e0fcab0-d232-462b-b900-76e0f48b6d85 X-Archives-Hash: 50a54efabd6c24453eacdcf95599c0de commit: decd45a692fd074be7165ffd4f5e269fc94bf2dd Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Sep 23 17:16:25 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Sep 23 20:07:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=decd45a6 kde-plasma/plasma-workspace: Prevent panel going out of screen boundaries See also: https://bugs.kde.org/show_bug.cgi?id=450068 Upstream commit 9c7ac7061c5c85d63875eaee70793ba04334c1d0 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=353975 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=438114 Signed-off-by: Andreas Sturmlechner gentoo.org> ...ace-5.25.5-prevent-panel-go-out-of-screen.patch | 33 ++++++++++++++++++++++ .../plasma-workspace-5.25.5-r3.ebuild | 1 + 2 files changed, 34 insertions(+) diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch new file mode 100644 index 000000000000..457470f0807c --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch @@ -0,0 +1,33 @@ +From 9c7ac7061c5c85d63875eaee70793ba04334c1d0 Mon Sep 17 00:00:00 2001 +From: Fushan Wen +Date: Fri, 16 Sep 2022 14:34:27 +0000 +Subject: [PATCH] Revert "Revert "Prevent panel going out of screen + boundaries"" + +This reverts commit 17774bc4c673294a7c8a6e80660d83cce1ba8891 + +There is still a known culprit (duplicate display names) so the hack shouldn't be reverted. + +CCBUG: 353975 +CCBUG: 438114 +--- + shell/panelview.cpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/shell/panelview.cpp b/shell/panelview.cpp +index b5c87bbf71..4be1e26ca4 100644 +--- a/shell/panelview.cpp ++++ b/shell/panelview.cpp +@@ -859,6 +859,9 @@ void PanelView::moveEvent(QMoveEvent *ev) + updateEnabledBorders(); + m_strutsTimer.start(STRUTSTIMERDELAY); + PlasmaQuick::ContainmentView::moveEvent(ev); ++ if (m_screenToFollow && !m_screenToFollow->geometry().contains(geometry())) { ++ positionPanel(); ++ } + } + + void PanelView::keyPressEvent(QKeyEvent *event) +-- +GitLab + diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r3.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r3.ebuild index 5e8c8067b58e..212a7c1e7178 100644 --- a/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r3.ebuild +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r3.ebuild @@ -159,6 +159,7 @@ PATCHES=( "${FILESDIR}/${P}-widgetexplorer-recurse-containments.patch" # https://mail.kde.org/pipermail/distributions/2022-September/001287.html "${FILESDIR}/${P}-delay-ksplash-until-after-env-setup.patch" # KDE-bug 458865 w/ Qt 5.15.6 "${FILESDIR}/${P}-fonts-honor-and-present-system-defaults.patch" # KDE-bug 416140 + "${FILESDIR}/${P}-prevent-panel-go-out-of-screen.patch" # git master and Plasma/5.24 branch double revert ) src_prepare() {