diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /kde-plasma/plasma-workspace/files | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch | 33 | ||||
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch | 30 |
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch new file mode 100644 index 000000000000..e7cd0627a269 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch @@ -0,0 +1,33 @@ +From 61e2ea2323ae63c5805c87353701ba6fb722205a Mon Sep 17 00:00:00 2001 +From: Fabio Bas <fabio.bas@officineinformatiche.net> +Date: Fri, 3 Sep 2021 19:23:12 +0200 +Subject: [PATCH] Update solid connectedSources when a new source gets added by + hotplug BUG: 438874 + +--- + applets/devicenotifier/package/contents/ui/devicenotifier.qml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/applets/devicenotifier/package/contents/ui/devicenotifier.qml b/applets/devicenotifier/package/contents/ui/devicenotifier.qml +index a1dc20b83..404ae95e6 100644 +--- a/applets/devicenotifier/package/contents/ui/devicenotifier.qml ++++ b/applets/devicenotifier/package/contents/ui/devicenotifier.qml +@@ -75,6 +75,7 @@ Item { + onSourceAdded: { + disconnectSource(source); + connectSource(source); ++ sdSource.connectedSources = sources + } + onSourceRemoved: { + disconnectSource(source); +@@ -98,7 +99,6 @@ Item { + PlasmaCore.DataSource { + id: sdSource + engine: "soliddevice" +- connectedSources: hpSource.sources + interval: 0 + property string last + onSourceAdded: { +-- +GitLab + diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch new file mode 100644 index 000000000000..27db136c2949 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch @@ -0,0 +1,30 @@ +Commit 7ca34e0baa7fa65efc929eee5b6b0c3d2104db8e already reverted one +change that caused the cwd of all apps spawned by krunner to +erroneously be set to the root dir. + +That regressions is back so it's more robust to fix in within krunner. + +Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> +--- + krunner/main.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/krunner/main.cpp b/krunner/main.cpp +index 4593687ca..fa4a62ac4 100644 +--- a/krunner/main.cpp ++++ b/krunner/main.cpp +@@ -12,6 +12,7 @@ + #include <QDBusConnection> + #include <QDBusMessage> + #include <QDebug> ++#include <QDir> + #include <QQuickWindow> + #include <QSessionManager> + #include <QUrl> +@@ -112,5 +113,6 @@ int main(int argc, char **argv) + } + }); + ++ QDir::setCurrent(QDir::homePath()); + return app.exec(); + } |