Bug 404296 - Shortcuts added from some app are not automatically removed when that app is removed
Summary: Shortcuts added from some app are not automatically removed when that app is ...
Status: CONFIRMED
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.54.0
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: usability
: 421166 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-13 16:46 UTC by sqenix
Modified: 2023-12-04 10:20 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot showing shortcuts from not installed Kwin scripts (117.57 KB, image/jpeg)
2019-02-13 16:46 UTC, sqenix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sqenix 2019-02-13 16:46:30 UTC
Created attachment 118047 [details]
Screenshot showing shortcuts from not installed Kwin scripts

SUMMARY
Old shortcuts from removed Kwin scripts remain in the Global shortcuts


STEPS TO REPRODUCE
1. Install Kwin scripts with shortcuts e.g. Quarter tiling, Tiling, Quick Tile 2
2. Remove/uninstall script from 'Get new scripts' window in Kwin scripts
3. Check global shortcuts

OBSERVED RESULT
Old shortcuts from removed Kwin scripts remain in the Global shortcuts

EXPECTED RESULT
Shortcuts associated with Kwin scripts removed when Kwin script removed

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Manjaro KDE 4.20.3-1
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54
Qt Version: 5.12

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2019-04-26 19:45:44 UTC
I can confirm after the steps below:

1. Install Kwin scripts with shortcuts e.g. Quarter tiling, Tiling, Quick Tile 2
(I installed Quarter tiling)
2. enable the just installed script by checking it and clicking "Apply" button
in "Kwin Scripts" kcm
3. open "global shortcuts" kcm, click "Kwin" component and observe several shortcuts created by the script installed in the step 1 beginning with "Quarter:"
4. Remove/uninstall script from 'Get new scripts' window in "Kwin scripts" kcm
5. Check global shortcuts in "global shortcuts" kcm > "Kwin" component
Result: the shortcuts created after the script installation/activation are still listed

Operating System: Arch Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3
Comment 2 Nate Graham 2020-05-14 22:14:34 UTC
*** Bug 421166 has been marked as a duplicate of this bug. ***
Comment 3 cyslider 2021-05-04 20:49:41 UTC
KDE Plasma 5.21.4 here

Yes, really annoying, that you can't even delete them manually in the UI.

I just wrote my first script and now I have lots and lots of them.

If you use "wm console" to register them, you can not replace what you registered for them by running an updated script in the console... this really screwed me over big time in the beginning and I then used different key binding names each time. Now I can't clean the mess.

I use a VM for testing now, but I really think this should be fixed.