It's mostly useful to be able to hide the virtual keyboard like we do in
Plasma Mobile from the bottom panel, should probably replace the SNI
from KWin.
There's no API to set `linkColor` on `TextEdit` and it would use the
system link color potentially clashing with the Plasma theme.
BUG: 438366
FIXED-IN: 5.22.3
Sets the profiles via the wrapped ui in powerdevil if available.
If the performance profile is inhibited, the second half of the slider
will look disabled and it will be impossible to move it to performance.
Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>
Fix a visual glitch that caused the icons and highlight of the items in
the HiddenItemsView of the systray to be blurry. This commit fixes this
by preventing the items from being positioned in a non-integer position.
- Set the fancy name, e.g. "Foo, Bold Italic", as UDS_DISPLAY_NAME
- Set the actual file name, e.g. foo-bold.ttf, as UDS_NAME
- Set the actual file url, e.g. /usr/share/fonts/truetype/foo-bold.ttf as UDS_URL
Setting the UDS_URL fixes font thumbnail creation when using kio_fonts.
And IIUC, also avoids calling get() on "font:/" urls, the files are already
local; setting the UDS_URL makes all the font previews work on my system
at least.
BUG: 234754
FIXED-IN: 5.23
And comment out the qDebug() calls (the ones without a logging category),
useful for debugging but they spam the terminal output if you e.g. start
systemsettings from terminal.
Also don't print time with debug statements, useful for benchmarking, but
too much output in terminal otherwise.
GIT_SILENT
This patch adds an action to unmount all mounted devices. Also it fixes the issue where an additional header appears if more than one device is mounted.
BUG: 434805
AppMenu is using it's own way to remove mnemonics but then they still are being processed by Kirigami's MnemonicAttached.
This commit adapts AppMenu for use with writable active property to show mnemonics underlines based on own logic.
This patch fixes an issue where action remain disabled after changing its
visibility off/on by filtering actions and creating buttons for visible
actions only. It also slightly improves the code.
forgot to emit the change signal in a number of scenarios. this then
broke actually changing the order and removing items from the selection
because the signal is used to forward the current selection list to the
KConfigSkeleton. by not emitting the signal in all change scenarios we'd
effectively never update the stringlist inside the skeleton causing noop
saves.
This is now done on the frameworks side using the X-Plasma-Runner-Unique-Results
property and the id of the matches. Consequently we can drop this workaround.
The min letter count property is set to 3, which means that shorter queries will not be
sent to the runner. Consequently we can remove all of the code which has worked around
the issue of short queries taking much CPU power and delaying the runner.
The Ids from SNIs are not the application id in the first place.
Also when activating an app which does not support the new method
on the inferface we never stop the startup effect.
BUG:439682
The intention of this code was to sync with a selection of really really
old applications.
Colours wuold be written into xrdb but there was also a hook to store
and load defaults for a specific set of really legacy applications,
initally defined in '98 and not updated much since.
This has become very outdated, such as tell xpdf to use kfmclient which
no longer exists.
This was broken in that it sampled KDEGlobals "wm" config groups, which
isn't where most colours are. It must have been broken for years.
On wayland we don't want to use the env vars as we send the scale via
wl_output scale.
If a user logs into X first we set these in our activation env to a
scaled value. If they then log into wayland afterwards they are still
set. Calling qunsetenv won't work as then we won't remove them from the
activation env.
Arguably it's working round a bug, but we don't have other options.
BUG: 438971
We get `sourceRemoved` emitted before the source is actually removed
from the list.
This is a change from 5984d4960fa5ecf60a20b1fbc782fb841faa4af7
in plasma-framework but better be safe than sorry.
BUG: 439309
FIXED-IN: 5.23.3
Because we did not have this property the adaptor used a default
constructed empty path. An empty path is invalid though and Qt
would refuse to marshall it.
Unconditionally advertise '/' as the menu path even though we don't have
one. Callers looking for a menu there will receive an error that there's
not the interface that they expected at the path.
BUG:439229
FIXED-IN:5.22.3
The plugins are loaded from their namespace and not using the service
types.
Querying them using KServiceTypeTrader would not work, because the
X-KDE-Library property does not contain the namespace.
Considering that nobody complained about that we can stop installing
them.
Normally you wouldn't see this because a copy job has a `destUrl`
(which is why I didn't notice) but when removing the filename to "go up"
we need to strip the trailing slash, too.