From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-workspace/, kde-plasma/plasma-workspace/files/
Date: Tue, 9 Feb 2016 16:25:24 +0000 (UTC) [thread overview]
Message-ID: <1455035114.0be8df1b52ad6ee0dbfe86ca22ec19fb47e88797.kensington@gentoo> (raw)
commit: 0be8df1b52ad6ee0dbfe86ca22ec19fb47e88797
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 9 16:13:10 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Feb 9 16:25:14 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be8df1b
kde-plasma/plasma-workspace: backport patch from upstream solving lock screen bypass
Gentoo-bug: 574270
Package-Manager: portage-2.2.27
.../plasma-workspace-5.4.3-lockscreen-bypass.patch | 38 ++++++++++++++++++++++
...-r1.ebuild => plasma-workspace-5.4.3-r2.ebuild} | 1 +
2 files changed, 39 insertions(+)
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-lockscreen-bypass.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-lockscreen-bypass.patch
new file mode 100644
index 0000000..977251e
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-lockscreen-bypass.patch
@@ -0,0 +1,38 @@
+From 23a9ed7ba9995570227dbcd69c23f009de7dde49 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= <mgraesslin@kde.org>
+Date: Tue, 9 Feb 2016 16:37:50 +0100
+Subject: [PATCH] [greeter] Dont quit when last window closes
+
+Qt allows to have no screens. If all XRandR screens are disconnected
+there are also no QScreens. This is from an X11 perspective wrong, but
+we have to deal with it. No QScreens means that all views are destroyed
+and no new ones are created. Thus all windows close and the greeter
+exited successfully which in turn unlocked the screen.
+
+This change ensures that the greeter doesn't exit when all windows close.
+
+Funnily this was not a problem with the well known issue of Qt
+crashing when all screens are disconnected. The lock screen handles
+crashes gracefully and just restarts or more likely Qt also crashes
+the application using KSld and thus taking down the complete session.
+
+CCBUG: 358125
+---
+ ksmserver/screenlocker/greeter/main.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ksmserver/screenlocker/greeter/main.cpp b/ksmserver/screenlocker/greeter/main.cpp
+index fa4bf62..0a68835 100644
+--- a/ksmserver/screenlocker/greeter/main.cpp
++++ b/ksmserver/screenlocker/greeter/main.cpp
+@@ -56,6 +56,7 @@ int main(int argc, char* argv[])
+ // explicitly disable input methods as it makes it impossible to unlock, see BUG 306932
+ qputenv("QT_IM_MODULE", QByteArrayLiteral("compose"));
+ ScreenLocker::UnlockApp app(argc, argv);
++ app.setQuitOnLastWindowClosed(false);
+ QCoreApplication::setApplicationName(QStringLiteral("kscreenlocker_greet"));
+ QCoreApplication::setApplicationVersion(QStringLiteral("0.1"));
+ QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org"));
+--
+2.4.10
+
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r1.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r2.ebuild
similarity index 99%
rename from kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r1.ebuild
rename to kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r2.ebuild
index b6f96f5..0b95d6e 100644
--- a/kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r1.ebuild
+++ b/kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r2.ebuild
@@ -130,6 +130,7 @@ PATCHES=(
"${FILESDIR}/${PN}-5.4-consolekit2.patch"
"${FILESDIR}/${PN}-5.4.3-fix-drkonqi.patch" #Upstream bug 354110
"${FILESDIR}/${PN}-5.4.3-no-SUID-no-GUID.patch"
+ "${FILESDIR}/${P}-lockscreen-bypass.patch"
)
RESTRICT="test"
next reply other threads:[~2016-02-09 16:25 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-09 16:25 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-09-28 21:47 [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-workspace/, kde-plasma/plasma-workspace/files/ Michael Palimaka
2016-11-16 18:38 Michael Palimaka
2017-07-27 16:24 Andreas Sturmlechner
2017-08-02 23:22 Andreas Sturmlechner
2017-08-31 20:54 Andreas Sturmlechner
2018-02-09 13:57 Michael Palimaka
2018-04-11 20:08 Andreas Sturmlechner
2018-09-11 17:47 Andreas Sturmlechner
2019-07-20 22:15 Andreas Sturmlechner
2020-01-21 16:29 Andreas Sturmlechner
2020-05-16 22:38 Andreas Sturmlechner
2020-05-16 22:38 Andreas Sturmlechner
2020-06-23 13:49 Andreas Sturmlechner
2020-07-09 17:52 Andreas Sturmlechner
2020-07-28 15:37 Andreas Sturmlechner
2020-10-04 16:07 Andreas Sturmlechner
2021-01-15 18:33 Andreas Sturmlechner
2021-01-23 22:45 Andreas Sturmlechner
2021-02-05 10:12 Andreas Sturmlechner
2021-05-29 21:19 Andreas Sturmlechner
2021-09-16 11:14 Andreas Sturmlechner
2021-09-22 21:59 Andreas Sturmlechner
2021-11-23 14:59 Andreas Sturmlechner
2021-11-30 14:33 Andreas Sturmlechner
2021-12-10 14:58 Andreas Sturmlechner
2021-12-14 9:28 Andreas Sturmlechner
2022-02-06 21:17 Andreas Sturmlechner
2022-05-17 19:02 Andreas Sturmlechner
2022-06-14 12:44 Andreas Sturmlechner
2022-09-09 7:34 Sam James
2022-09-14 11:59 Andreas Sturmlechner
2022-10-03 8:43 Andreas Sturmlechner
2022-11-30 1:44 Sam James
2023-02-01 9:47 Andreas Sturmlechner
2023-03-23 8:39 Andreas Sturmlechner
2023-04-10 18:35 Andreas Sturmlechner
2023-06-27 11:25 Andreas Sturmlechner
2023-09-24 21:47 Andreas Sturmlechner
2024-06-05 18:57 Andreas Sturmlechner
2024-08-12 20:16 Andreas Sturmlechner
2024-09-20 17:11 Andreas Sturmlechner
2024-10-07 18:02 Andreas Sturmlechner
2024-10-07 22:12 Andreas Sturmlechner
2025-05-26 18:04 Andreas Sturmlechner
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=1455035114.0be8df1b52ad6ee0dbfe86ca22ec19fb47e88797.kensington@gentoo \
--to=kensington@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