public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
Date: Tue, 17 Dec 2019 23:49:10 +0000 (UTC)	[thread overview]
Message-ID: <1576626521.23cc71974f081f1336a61547086f64c8f2165a60.asturm@gentoo> (raw)

commit:     23cc71974f081f1336a61547086f64c8f2165a60
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 17 22:04:15 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 17 23:48:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23cc7197

kde-plasma/plasma-desktop: Fix Pager doesn't show windows of 2nd screen

KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=414849
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../plasma-desktop-5.17.4-pager-regression.patch   | 25 ++++++++++++++++++++++
 .../plasma-desktop/plasma-desktop-5.17.4-r1.ebuild |  1 +
 2 files changed, 26 insertions(+)

diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-pager-regression.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-pager-regression.patch
new file mode 100644
index 00000000000..d8057f22a4c
--- /dev/null
+++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.17.4-pager-regression.patch
@@ -0,0 +1,25 @@
+From 2b5e86323f180f0c51ef9af898a69a522bc379ad Mon Sep 17 00:00:00 2001
+From: David Faure <faure@kde.org>
+Date: Sat, 14 Dec 2019 00:29:32 +0100
+Subject: Fix regression in "Port the pager applet away from QtWidgets"
+
+BUG: 414849
+---
+ applets/pager/plugin/windowmodel.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/applets/pager/plugin/windowmodel.cpp b/applets/pager/plugin/windowmodel.cpp
+index 93273bb..bcda333 100644
+--- a/applets/pager/plugin/windowmodel.cpp
++++ b/applets/pager/plugin/windowmodel.cpp
+@@ -77,7 +77,7 @@ QVariant WindowModel::data(const QModelIndex &index, int role) const
+     if (role == AbstractTasksModel::Geometry) {
+         QRect windowGeo = TaskFilterProxyModel::data(index, role).toRect();
+         QList<QScreen *> screens = QGuiApplication::screens();
+-        const QRect desktopGeo = screens.at(0)->geometry();
++        const QRect desktopGeo = screens.at(0)->virtualGeometry();
+ 
+         if (KWindowSystem::mapViewport()) {
+             int x = windowGeo.center().x() % desktopGeo.width();
+-- 
+cgit v1.1

diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild
index 34554e99519..f0f08a65f98 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-5.17.4-r1.ebuild
@@ -117,6 +117,7 @@ RDEPEND="${COMMON_DEPEND}
 
 PATCHES=(
 	"${FILESDIR}"/${P}-activities-kcm-hidpi.patch
+	"${FILESDIR}"/${P}-pager-regression.patch
 )
 
 src_configure() {


             reply	other threads:[~2019-12-17 23:49 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-17 23:49 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-15 15:35 [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/ Andreas Sturmlechner
2024-10-08 15:36 Andreas Sturmlechner
2023-11-12  9:21 Andreas Sturmlechner
2023-04-10 18:35 Andreas Sturmlechner
2023-03-22 23:01 Andreas Sturmlechner
2022-08-07 20:58 Andreas Sturmlechner
2022-05-29 20:44 Andreas Sturmlechner
2022-02-10 20:10 Andreas Sturmlechner
2022-01-25  9:49 Andreas Sturmlechner
2021-12-10 14:58 Andreas Sturmlechner
2021-02-18 19:56 Andreas Sturmlechner
2021-02-05 10:12 Andreas Sturmlechner
2021-01-24 19:44 Andreas Sturmlechner
2020-09-29 12:49 Andreas Sturmlechner
2020-08-18 17:49 Andreas Sturmlechner
2020-05-16 22:38 Andreas Sturmlechner
2020-05-07 19:57 Andreas Sturmlechner
2019-12-17 23:49 Andreas Sturmlechner
2018-10-04 12:23 Andreas Sturmlechner
2018-09-11 16:24 Andreas Sturmlechner
2018-05-18 22:53 Andreas Sturmlechner
2017-02-15 16:59 Johannes Huber
2017-01-08 14:24 Andreas Sturmlechner
2016-03-13 18:54 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1576626521.23cc71974f081f1336a61547086f64c8f2165a60.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox