David Edmundson
c920ea86a1
Only remove shortcuts on applet removal not destruction
Applets are destroyed every time we close plasma as well as user actions. We only want to remove the shortcut from the registry from when an applet is actually removed. The end-user impact was limited as when we restart plasma we re-register and plasma keeps it's own cache of what the shortcut should be so it doesn't matter that kglobalaccel lost it's version. The problem is that it means we send bogus calls to kglobalaccel after kglobalaccel is potentially closed. Testing done: - set a shortcut on an applet - confirmed it still worked after plasma restart - removed an applet (and closed notificaiton so it wasn't in the transient state) - confirmed the entry was gone from system settings and the global shortcut no-opped.
Plasma Framework
Foundational libraries, components, and tools of the Plasma workspaces
Introduction
The plasma framework provides the following:
- QML components
- A C++ library: libplasma
- Script engines
QML components
org.kde.plasma.core
Bindings for libplasma functionality, such as DataEngine and FrameSvg, see @ref core.
org.kde.plasma.components
Graphical components for common items such as buttons, lineedits, tabbars and so on. Compatible subset of the MeeGo components used on the N9, see @ref plasmacomponents.
org.kde.plasma.extras
Extra graphical components that extend org.kde.plasma.components but are not in the standard api, see @ref plasmaextracomponents.
org.kde.plasma.plasmoid
Attached properties for manipulating the current applet or containment, see @ref libplasmaquick
libplasma
This C++ library provides:
- rendering of SVG themes
- loading of files from a certain filesystem structure: packages
- data access through data engines
- loading of the plugin structure of the workspace: containments and applets
See @ref libplasma.
Script engines
Provides support to create applets or containments in various scripting languages.
Description
Languages
C++
63.9%
QML
29.4%
CMake
3.3%
Shell
1.3%
Python
1%
Other
1%