diff --git a/fix-changing-visibility-systemtray-entries.patch b/fix-changing-visibility-systemtray-entries.patch new file mode 100644 index 0000000..9037f84 --- /dev/null +++ b/fix-changing-visibility-systemtray-entries.patch @@ -0,0 +1,13 @@ +diff --git a/applets/systemtray/package/contents/ui/ConfigEntries.qml b/applets/systemtray/package/contents/ui/ConfigEntries.qml +index 4001d39..e848ae3 100644 +--- a/applets/systemtray/package/contents/ui/ConfigEntries.qml ++++ b/applets/systemtray/package/contents/ui/ConfigEntries.qml +@@ -94,7 +94,7 @@ QtLayouts.GridLayout { + var shownIndex = cfg_shownItems.indexOf(modelData.taskId); + var hiddenIndex = cfg_hiddenItems.indexOf(modelData.taskId); + +- switch (index) { ++ switch (currentIndex) { + case 0: { + if (shownIndex > -1) { + cfg_shownItems.splice(shownIndex, 1); diff --git a/plasma-workspace.spec b/plasma-workspace.spec index 8f350d7..de6a74b 100644 --- a/plasma-workspace.spec +++ b/plasma-workspace.spec @@ -11,7 +11,7 @@ Name: plasma-workspace Summary: Plasma workspace, applications and applets Version: 5.4.3 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://projects.kde.org/projects/kde/workspace/plasma-workspace @@ -39,6 +39,10 @@ Patch11: plasma-workspace-5.3.0-set-fedora-default-look-and-feel.patch Patch12: startkde.patch Patch13: plasma-workspace-5.4.2-prison-qt5.patch +# reverted fix which should not have gone to 5.4 branch +# kdebz#355404 +Patch14: fix-changing-visibility-systemtray-entries.patch + ## upstreamable Patches Patch1: kde-runtime-4.9.0-installdbgsymbols.patch @@ -349,6 +353,7 @@ sed -i -e "s|@DEFAULT_LOOKANDFEEL@|%{?default_lookandfeel}%{!?default_lookandfee %if 0%{?prison} %patch13 -p1 -b .prison-qt5 %endif +%patch14 -p1 -b .fix-changing-visibility-systemtray-entries %patch100 -p1 -b .0001 %patch105 -p1 -b .0005 @@ -566,6 +571,10 @@ fi %changelog +* Mon Nov 16 2015 Jan Grulich - 5.4.3-3 +- Fix changing of visibility for system tray entries + Resolves: kdebz#355404 + * Wed Nov 11 2015 Rex Dieter 5.4.3-2 - refresh xembedsniproxy support (#1280457)