Bug 315829 - Add possibility to uninstall scripted effects
Summary: Add possibility to uninstall scripted effects
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwinscripts (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 322460 399266 419036 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-27 00:30 UTC by Kai Uwe Broulik
Modified: 2020-08-28 15:32 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2013-02-27 00:30:00 UTC
When installing a KWin Effect using GHNS, or when uninstalling this way, the list is not properly updated and you won't see or have a stuck entry of said effect in your list.
I tried killing kwin, running kbuildsycoca4, starting kwin again, restarting system settings again a couple of times to get the list updated.

Reproducible: Always

Steps to Reproduce:
1. Go to Desktop Effects → All Effects and choose "Get New Effect..."
2. Choose one of the two shown :P
3. Click Install
Actual Results:  
The effect is not properly added to the list.

Expected Results:  
The effect is properly added to the list.

Same when uninstalling.
Comment 1 Martin Flöser 2013-02-27 06:47:09 UTC
quite possible - it's basically untested as there have not been any scripted effects when I wrote the code ;-)
Comment 2 Kai Uwe Broulik 2013-09-13 08:16:54 UTC
Now the effect is properly added when installing it but removing it doesn't remove it again. So we're halfway there :)
Comment 3 Martin Flöser 2013-09-13 08:24:10 UTC
There is no uninstalling. So I change to wishlist
Comment 4 Kai Uwe Broulik 2013-09-13 08:35:06 UTC
There is no uninstalling? It's installed via GHNS after all.
Comment 5 Martin Flöser 2013-09-13 08:37:59 UTC
> There is no uninstalling? It's installed via GHNS after all.
not in the UI - clicking "Get New" for "Remove" doesn't count :-)
Comment 6 Thomas Lübking 2013-10-12 11:40:09 UTC
*** Bug 322460 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Lübking 2013-10-12 11:41:04 UTC
Workaround:

plasmapkg -l -t kwinscript
plasmapkg -r <name>
Comment 8 Nate Graham 2020-07-28 19:05:40 UTC
*** Bug 419036 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2020-07-28 19:05:48 UTC
*** Bug 399266 has been marked as a duplicate of this bug. ***
Comment 10 David Faure 2020-08-13 21:19:13 UTC
Git commit edc45feb457a51b496edb571306298d30ad4c552 by David Faure, on behalf of Alexander Lohnau.
Committed on 13/08/2020 at 21:19.
Pushed by dfaure into branch 'master'.

Allow extra button to be added to KPluginSelector
Related: bug 369136

M  +39   -2    src/kpluginselector.cpp
M  +9    -0    src/kpluginselector.h
M  +2    -0    src/kpluginselector_p.h

https://invent.kde.org/frameworks/kcmutils/commit/edc45feb457a51b496edb571306298d30ad4c552
Comment 11 Bug Janitor Service 2020-08-27 09:43:25 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/214
Comment 12 Alexander Lohnau 2020-08-28 15:32:48 UTC
Git commit 4e481d0e66768cd71904be92f9d3de2bed4be20c by Alexander Lohnau.
Committed on 28/08/2020 at 15:32.
Pushed by alex into branch 'master'.

Add uninstall button for kwin scripts
FIXED-IN: 5.20

M  +28   -1    kcmkwin/kwinscripts/module.cpp

https://invent.kde.org/plasma/kwin/commit/4e481d0e66768cd71904be92f9d3de2bed4be20c