because KStandardDirs::findAllResources() will return local and global
rules thus if there is a global and local rule file with the same name
there would be duplicates, using KStandardDirs::NoDuplicates flag will
not solve that because the rules are merged into the main kwinrulesrc
config
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
plasma-desktop for example installs such file and it is suffixed with
".kwinrules" (see
plasma/containments/desktop/plasma_desktop_containment.kwinrules). also a
new MIME type for such file was added, see the following commit in the
kdelibs repo:
31553f8958bb3aa36957ae5d2ebe0b315cad27d8
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
because cursors are technically images and the thumbnails creation is cheap
(even tho the result is not cached, cursors are small images)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
animating icons was never a KIconLoader thing, animated icons however (such
as "process-working", which is many icons packed into one) are supported.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the systemtray applet automatically adds the applets that have
configuration entry in plasma-desktoprc but the applets configuration is
not saved by the systemtray applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
for reference:
https://github.com/fluxer/katana/issues/41
note that the config affects only new configurations (the config is
copied to the user config directory once layout is saved), also a logout
may be required when a screen is removed (that includes setting up extra
monitor to be copy of the primary display)
as for why it is done - a image and panel containment was created by the
default layout script (00-defaultLayout.js) which is no longer since
772d9ff219
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KLocale::formatDuration() does pretty much the same as what
KLocale::prettyFormatDuration() used to do
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
as the comment says - there is no interface for it, there isn't one for
what KGlobalSettings::isMultiHead() checks for but it checks for
environment variable. now the klauncher KDE_MULTIHEAD environment variable
will match the global envionment variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
not only unused but next to useless - it is about a configuration change
and the common way for that to happen is doing it from the randr KCM
which is a "I know what I am doing, I don't need popup for that" kind of
situtation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
many plasma runner have this issue - when locale is changed to something
other than the default the trigger term has to be in translated form (e.g.
"отметки") because the original untranslated term is not matched (e.g.
"bookmarks") and it is as if the runners are not working
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>