Kde/patches: add more patches
This commit is contained in:
parent
d7c245ed8e
commit
3f0333b4a0
4 changed files with 170 additions and 0 deletions
|
|
@ -3,3 +3,4 @@ Plasma 6.6.0:
|
|||
Pr 3256 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3256
|
||||
Pr 3259 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3259
|
||||
Pr 3269 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3269
|
||||
Pr 3356 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3356
|
||||
|
|
|
|||
37
roles/kde/patches/plasma-desktop/pr3356.patch
Normal file
37
roles/kde/patches/plasma-desktop/pr3356.patch
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
From 04c747a41d8c01248c7baeec5c852c2298f76fc3 Mon Sep 17 00:00:00 2001
|
||||
From: Christoph Wolk <cwo.kde@posteo.net>
|
||||
Date: Mon, 1 Dec 2025 14:36:09 +0100
|
||||
Subject: [PATCH] applets/kickoff: also close when triggering from footer menu
|
||||
|
||||
Kickoff already closes when one of the power/session buttons from the
|
||||
menu is pressed, but the same does not happen if the same action is
|
||||
shown in the overflow menu.
|
||||
|
||||
Instead, also close kickoff in that case.
|
||||
|
||||
CCBUG: 508725
|
||||
---
|
||||
applets/kickoff/LeaveButtons.qml | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/applets/kickoff/LeaveButtons.qml b/applets/kickoff/LeaveButtons.qml
|
||||
index c9a14dc3254..acf83639341 100644
|
||||
--- a/applets/kickoff/LeaveButtons.qml
|
||||
+++ b/applets/kickoff/LeaveButtons.qml
|
||||
@@ -214,7 +214,12 @@ RowLayout {
|
||||
|
||||
text: model.display
|
||||
icon: model.decoration
|
||||
- onClicked: filteredMenuItemsModel.trigger(index)
|
||||
+ onClicked: {
|
||||
+ filteredMenuItemsModel.trigger(index)
|
||||
+ if (kickoff.hideOnWindowDeactivate) {
|
||||
+ kickoff.expanded = false;
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
onObjectAdded: (index, object) => contextMenu.addMenuItem(object)
|
||||
onObjectRemoved: (index, object) => contextMenu.removeMenuItem(object)
|
||||
--
|
||||
GitLab
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue