diff options
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
6 files changed, 98 insertions, 98 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 deleted file mode 100644 index e7cd0627a269..000000000000 --- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch +++ /dev/null @@ -1,33 +0,0 @@ -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-fix-powermanagement-inhibition.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-powermanagement-inhibition.patch deleted file mode 100644 index 13e4bf256d3e..000000000000 --- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-powermanagement-inhibition.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 6379d1ec8d4a1fce141280eead930a6cdd9282d1 Mon Sep 17 00:00:00 2001 -From: Peifeng Yu <7437103@gmail.com> -Date: Mon, 6 Sep 2021 05:24:15 +0000 -Subject: [PATCH] Call UnInhibit with correct signature in powermanagement - dataengine - ---- - dataengines/powermanagement/powermanagementjob.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/dataengines/powermanagement/powermanagementjob.cpp b/dataengines/powermanagement/powermanagementjob.cpp -index 90051cf33..dc7883d10 100644 ---- a/dataengines/powermanagement/powermanagementjob.cpp -+++ b/dataengines/powermanagement/powermanagementjob.cpp -@@ -104,7 +104,7 @@ void PowerManagementJob::start() - QStringLiteral("/org/freedesktop/PowerManagement/Inhibit"), - QStringLiteral("org.freedesktop.PowerManagement.Inhibit"), - QStringLiteral("UnInhibit")); -- msg << parameters().value(QStringLiteral("cookie")).toInt(); -+ msg << parameters().value(QStringLiteral("cookie")).toUInt(); - QDBusReply<void> reply = QDBusConnection::sessionBus().call(msg); - setResult(reply.isValid()); - return; -@@ -122,7 +122,7 @@ void PowerManagementJob::start() - QStringLiteral("/ScreenSaver"), - QStringLiteral("org.freedesktop.ScreenSaver"), - QStringLiteral("UnInhibit")); -- msg << parameters().value(QStringLiteral("cookie")).toInt(); -+ msg << parameters().value(QStringLiteral("cookie")).toUInt(); - QDBusReply<uint> reply = QDBusConnection::sessionBus().call(msg); - setResult(reply.isValid()); - return; --- -GitLab - diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-gpsd-3.23.1.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-gpsd-3.23.1.patch deleted file mode 100644 index cb35751d446f..000000000000 --- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-gpsd-3.23.1.patch +++ /dev/null @@ -1,30 +0,0 @@ -From e6cab5d96f7b51a5cf4be3d93a7e2d4fee1cddae Mon Sep 17 00:00:00 2001 -From: Vlad Zahorodnii <vlad.zahorodnii@kde.org> -Date: Thu, 23 Sep 2021 19:29:05 +0300 -Subject: [PATCH] Fix build with gpsd 3.23.1 - -STATUS_NO_FIX was renamed to STATUS_UNK. - -https://gitlab.com/gpsd/gpsd/-/commit/d4a4d8d3606fd50f10bcd20096a8a0cdb8b2d427 ---- - dataengines/geolocation/location_gps.cpp | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/dataengines/geolocation/location_gps.cpp b/dataengines/geolocation/location_gps.cpp -index 858059ada..ec9ec14ae 100644 ---- a/dataengines/geolocation/location_gps.cpp -+++ b/dataengines/geolocation/location_gps.cpp -@@ -52,7 +52,9 @@ void Gpsd::run() - #else - if (m_gpsdata->online) { - #endif --#if GPSD_API_MAJOR_VERSION >= 10 -+#if defined(STATUS_UNK) // STATUS_NO_FIX was renamed to STATUS_UNK without bumping API version -+ if (m_gpsdata->fix.status != STATUS_UNK) { -+#elif GPSD_API_MAJOR_VERSION >= 10 - if (m_gpsdata->fix.status != STATUS_NO_FIX) { - #else - if (m_gpsdata->status != STATUS_NO_FIX) { --- -GitLab - diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-klipper-actions-content-truncation.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-klipper-actions-content-truncation.patch new file mode 100644 index 000000000000..1153c9f006f1 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-klipper-actions-content-truncation.patch @@ -0,0 +1,33 @@ +From beb34e3d9781c7728260d486a835c52be21a6d83 Mon Sep 17 00:00:00 2001 +From: ValdikSS ValdikSS <iam@valdikss.org.ru> +Date: Sun, 5 Dec 2021 15:46:00 +0300 +Subject: [PATCH] Fix Klipper Actions content truncation + +Commit f9669af2 introduced a regression with Klipper Actions: it used +truncated text as a source for the action, which resulted in truncated +output. + +BUG: 444365 + + +(cherry picked from commit 49365857623f7e986013bee7d3160594d2272fe2) +--- + klipper/urlgrabber.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/klipper/urlgrabber.cpp b/klipper/urlgrabber.cpp +index fb7c0d0a2..185a6a5d6 100644 +--- a/klipper/urlgrabber.cpp ++++ b/klipper/urlgrabber.cpp +@@ -245,7 +245,7 @@ void URLGrabber::execute(const ClipAction *action, int cmdIdx) const + ClipCommand command = action->command(cmdIdx); + + if (command.isEnabled) { +- QString text(m_myClipItem->text()); ++ QString text(m_myClipItem->mimeData()->text()); + if (m_stripWhiteSpace) { + text = text.trimmed(); + } +-- +GitLab + diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-klipper-use-full-text.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-klipper-use-full-text.patch new file mode 100644 index 000000000000..29640f8262e6 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-klipper-use-full-text.patch @@ -0,0 +1,34 @@ +From c8b8c8dd389ae381831fdd23f354617f48f3edd4 Mon Sep 17 00:00:00 2001 +From: David Edmundson <kde@davidedmundson.co.uk> +Date: Sun, 5 Dec 2021 08:26:45 +0000 +Subject: [PATCH] [klipper] Use full text for DBus return values + +In a recent commit HistoryItem::text() became the visual representation +of the mimedata; often a truncated string. + +mimeData()->text() always returns the full value. + +BUG: 446441 + + +(cherry picked from commit 2db375f6a71cb730e1e099f9ff17ef7092850d9d) +--- + klipper/klipper.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/klipper/klipper.cpp b/klipper/klipper.cpp +index b090a2409..3b12d1f95 100644 +--- a/klipper/klipper.cpp ++++ b/klipper/klipper.cpp +@@ -838,7 +838,7 @@ QString Klipper::getClipboardHistoryItem(int i) + if (item) { + do { + if (i-- == 0) { +- return item->text(); ++ return item->mimeData()->text(); + } + item = history()->find(item->next_uuid()); + } while (item != history()->first()); +-- +GitLab + diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-systemsettings-crash.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-systemsettings-crash.patch new file mode 100644 index 000000000000..d46f33486785 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.23.4-fix-systemsettings-crash.patch @@ -0,0 +1,31 @@ +From a8b613505e326dd047707e0a0e4d6f5ecc4a9baa Mon Sep 17 00:00:00 2001 +From: Alexander Lohnau <alexander.lohnau@gmx.de> +Date: Wed, 8 Dec 2021 18:25:36 +0100 +Subject: [PATCH] lookandfeel: Add missing check if list of files is empty + +BUG: 439797 + + +(cherry picked from commit d168d2a50366c528dab65415cd4f6e82afdfb645) +--- + kcms/lookandfeel/kcm.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/kcms/lookandfeel/kcm.cpp b/kcms/lookandfeel/kcm.cpp +index 75ce19197..349761aad 100644 +--- a/kcms/lookandfeel/kcm.cpp ++++ b/kcms/lookandfeel/kcm.cpp +@@ -123,7 +123,9 @@ void KCMLookandFeel::knsEntryChanged(KNSCore::EntryWrapper *wrapper) + if (entry.status() == KNS3::Entry::Deleted && !entry.uninstalledFiles().isEmpty()) { + removeItemFromModel(); + } else if (entry.status() == KNS3::Entry::Installed && !entry.installedFiles().isEmpty()) { +- removeItemFromModel(); // In case we updated it we don't want to have it in twice ++ if (!entry.uninstalledFiles().isEmpty()) { ++ removeItemFromModel(); // In case we updated it we don't want to have it in twice ++ } + KPackage::Package pkg = KPackage::PackageLoader::self()->loadPackage(QStringLiteral("Plasma/LookAndFeel")); + pkg.setPath(entry.installedFiles().constFirst()); + addKPackageToModel(pkg); +-- +GitLab + |