This commit adds several keywords to system settings' various options like Fonts,
Autostart, Colors, Formats, Themes etc. so that users are able to search these
options easily from the system settings.
Plasma had an entire text editor for the script engine in process.
The method for loading this was very convoluted, it loaded a QML file
(in plasma-desktop!) which contained an Item(!) which then loaded a QML
component that showed a widget dialog.
It also means loading a very heavy lib KTextEditor in ShellComponents
which is very heavy. This will get loaded in things like the logout
greeter, which is super slow on the pinephone.
We already had the concept of evalating a script remotely, we can just
hook up the print statement and move the whole executable out.
Technically this is an API break on the plasmashell DBus API, but
pragmatically going from void -> something on the return type isn't
going to break anything.
Klipper may freeze the whole plasmashell for tens of seconds trying
to render very long text string from history in the popup.
Trim very large strings to 200 characters (tooltip default) to prevent this.
BUG: 431673
Background image and album art image sometimes do not display at the same
time because there are two Image instances referring to the same path, but
cache will not work because they are loaded simultaneously. Use ShaderEffect
instead of another Image instance to provide the background to fix the bug.
Use State and PropertyChanges to avoid unnecessary reevaluation of width
and height of albumArtBackground.
BUG: 439753
FIXED-IN: 5.23
The global menu applet now looks more like a regular menubar, due to
- Using the new menubaritem SVG element introduced in frameworks/plasma-framework!89
- Removing spacing between menu items
This icon proposed at https://phabricator.kde.org/T11227 can be used for loading spinners. A gear fits especially because the symbol is part of the KDE branding.
From what I can tell these aren't used by anybody, and not something we
want to be using whilst we increase our wayland support.
Grepping through all of KDE, the only usage I found was kde 4's
KApplication and that code is exclusively checking for
"KDE_SESSION_VERSION==4" which will be false anyway.
The version in kdelibs4support checks for the env variable too.
A placeholder screen is created by Qt when no wl_outputs exist even for
a split second which can happen when plugging and unplugging monitors
due to driver order.
On wayland a separate config value was used from X11. The rationale
being if you're using wayland screen scaling, we don't want to scale
fonts as well, it would cause a double scaling. (plasma-desktop
fbbdfa100128e9c4cc12b37854a4a054562983bc)
In the port to kcfg this got broken.
The loading is also somewhat broken.
BUG: 441043