summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/patch/plasma-workspace
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-09-28 18:59:51 +0000
committer Eric Hameleers <alien@slackware.com>2022-09-29 07:00:21 +0200
commitc909d80825a2edd9e4677f401f322a1d444d8fd6 (patch)
treed1c864bc4793c108243045bf32095f7be3ab87a5 /source/kde/kde/patch/plasma-workspace
parent527f0eecafdf3ecdb6e6495cc0b147d533998e56 (diff)
downloadcurrent-c909d80825a2edd9e4677f401f322a1d444d8fd6.tar.gz
current-c909d80825a2edd9e4677f401f322a1d444d8fd6.tar.xz
Wed Sep 28 18:59:51 UTC 202220220928185951
a/kernel-firmware-20220928_8d19846-noarch-1.txz: Upgraded. a/kernel-generic-5.19.12-x86_64-1.txz: Upgraded. a/kernel-huge-5.19.12-x86_64-1.txz: Upgraded. a/kernel-modules-5.19.12-x86_64-1.txz: Upgraded. d/kernel-headers-5.19.12-x86-1.txz: Upgraded. k/kernel-source-5.19.12-noarch-1.txz: Upgraded. kde/kscreenlocker-5.25.5-x86_64-2.txz: Rebuilt. Subject: [PATCH] Set QSurfaceFormat::ResetNotification. This got lost in frameworks porting from shared KDeclarative code and is important (especially for NVIDIA after suspend+resume). Thanks to marav for the heads-up. kde/plasma-workspace-5.25.5-x86_64-3.txz: Rebuilt. [PATCH] set setInteractiveAuthorizationAllowed on SetPassword call. It is important that the SetPassword call uses interactive authorization, otherwise it will be denied unless the user had been modified beforehand so an authorization was already granted. Thanks to marav for the heads-up. n/gnutls-3.7.8-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. /sbin/probe: Fix duplicated enumeration of mmc storage devices (e.g. SD cards). Thanks to gsl on LQ for the report. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt. /sbin/probe: Fix duplicated enumeration of mmc storage devices (e.g. SD cards). Thanks to gsl on LQ for the report.
Diffstat (limited to 'source/kde/kde/patch/plasma-workspace')
-rw-r--r--source/kde/kde/patch/plasma-workspace/48ccb433ca79e94ef705734d9cab599f01df97e8.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/source/kde/kde/patch/plasma-workspace/48ccb433ca79e94ef705734d9cab599f01df97e8.patch b/source/kde/kde/patch/plasma-workspace/48ccb433ca79e94ef705734d9cab599f01df97e8.patch
new file mode 100644
index 000000000..163ca16d3
--- /dev/null
+++ b/source/kde/kde/patch/plasma-workspace/48ccb433ca79e94ef705734d9cab599f01df97e8.patch
@@ -0,0 +1,39 @@
+From 48ccb433ca79e94ef705734d9cab599f01df97e8 Mon Sep 17 00:00:00 2001
+From: Marco Martin <notmart@gmail.com>
+Date: Wed, 28 Sep 2022 11:33:33 +0200
+Subject: [PATCH] set setInteractiveAuthorizationAllowed on SetPassword call
+
+is important that the setpasswod call uses interactive authorization,
+otherwise will be denied, unless the user had been modified beforehand
+so an authorization was already granted
+
+BUG:459309
+---
+ kcms/users/src/user.cpp | 11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/kcms/users/src/user.cpp b/kcms/users/src/user.cpp
+index a28d6b713a..909170d008 100644
+--- a/kcms/users/src/user.cpp
++++ b/kcms/users/src/user.cpp
+@@ -225,9 +225,14 @@ void User::setPassword(const QString &password)
+ {
+ // Blocking because we need to wait for the password to be changed before we
+ // can ask the user about also possibly changing their KWallet password
+- auto invocation = m_dbusIface->SetPassword(saltPassword(password), QString());
+- invocation.waitForFinished();
+- if (!invocation.isError()) {
++
++ auto mc = QDBusMessage::createMethodCall(m_dbusIface->service(), m_dbusIface->path(), m_dbusIface->interface(), "SetPassword");
++ mc.setArguments({saltPassword(password), QString()});
++ mc.setInteractiveAuthorizationAllowed(true);
++ auto message = QDBusConnection::systemBus().call(mc);
++
++ // Not an error or invalid message
++ if (message.type() == QDBusMessage::ReplyMessage) {
+ Q_EMIT passwordSuccessfullyChanged();
+ }
+ }
+--
+GitLab
+