OSDN Git Service

kde/kde-workspace.git
10 months agogeneric: replace X-KDE-StartupNotify with StartupNotify
Ivailo Monev [Fri, 18 Aug 2023 02:11:16 +0000 (05:11 +0300)]
generic: replace X-KDE-StartupNotify with StartupNotify

X-KDE-StartupNotify is for compatibility and used as fallback (in case
StartupNotify is not set)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agodolphin: adjust to KLocalizedString changes
Ivailo Monev [Thu, 17 Aug 2023 21:56:13 +0000 (00:56 +0300)]
dolphin: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: adjust to KLocalizedString changes
Ivailo Monev [Thu, 17 Aug 2023 21:36:52 +0000 (00:36 +0300)]
generic: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: adjust to KLocalizedString changes
Ivailo Monev [Thu, 17 Aug 2023 20:37:43 +0000 (23:37 +0300)]
generic: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: adjust to KLocalizedString changes
Ivailo Monev [Thu, 17 Aug 2023 19:21:32 +0000 (22:21 +0300)]
generic: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokcontrol: ensure that the resolution numbers are not localized in OutputGraphicsItem...
Ivailo Monev [Thu, 17 Aug 2023 17:06:07 +0000 (20:06 +0300)]
kcontrol: ensure that the resolution numbers are not localized in OutputGraphicsItem::configUpdated()

otherwise it looks as if it is currency or something like that (e.g.
"1,920x1,080") and does not match the number that is shown in the combo box
with available resolutions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: remove unused variable in ThemeDelegate::paint()
Ivailo Monev [Wed, 16 Aug 2023 13:31:44 +0000 (16:31 +0300)]
kcontrol: remove unused variable in ThemeDelegate::paint()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: format and indent
Ivailo Monev [Wed, 16 Aug 2023 13:24:16 +0000 (16:24 +0300)]
kcontrol: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: remove now unused kautostart header inclusions
Ivailo Monev [Wed, 16 Aug 2023 12:56:58 +0000 (15:56 +0300)]
kcontrol: remove now unused kautostart header inclusions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: use the new public KTimerDialog
Ivailo Monev [Wed, 16 Aug 2023 12:20:32 +0000 (15:20 +0300)]
generic: use the new public KTimerDialog

see the following commit in kdelibs repo:
e0d476372cd6a39a01cb8b70f31192e4d2d540c8

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: simply override settings based on form factor from workspaceoptions KCM
Ivailo Monev [Wed, 16 Aug 2023 11:41:56 +0000 (14:41 +0300)]
kcontrol: simply override settings based on form factor from workspaceoptions KCM

it is done for the window placement and "borderless maximized windows"
options, the form factor feature shall be like a profile - instead of
overriding config options with fallback from this and that config it shall
override all relevant options from hardcoded values and even act as reset

on a side note what the form factor option does is setup other options
via single combo box, individual config options can be tuned from other
KCM (such as kwincompositing)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: use BorderlessMaximizedWindows config key to decide the workspace form...
Ivailo Monev [Wed, 16 Aug 2023 11:21:07 +0000 (14:21 +0300)]
kcontrol: use BorderlessMaximizedWindows config key to decide the workspace form factor

disabling plasma-desktop should never be done for Katana session even tho
it can be done because it is started from XDG autostart file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: do not translate the wind directions from IonInterface::getWindDirectionIcon()
Ivailo Monev [Tue, 15 Aug 2023 16:21:42 +0000 (19:21 +0300)]
plasma: do not translate the wind directions from IonInterface::getWindDirectionIcon()

fixes weatherstation plasma applet not showing the wind image (wind_arrows)
when the locale is set to be one other than the default (C/en_US). note
that "N/A" is matched as untranslated string (e.g. in
kdeplasma-addons/applets/weather/weatherapplet.cpp) meaning more changes
may be required to fix other minor issues because "N/A" is translated in
several places

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agocursors: add inkscape to the required tools
Ivailo Monev [Tue, 15 Aug 2023 00:22:06 +0000 (03:22 +0300)]
cursors: add inkscape to the required tools

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agocursors: CMake warning fix
Ivailo Monev [Tue, 15 Aug 2023 00:12:37 +0000 (03:12 +0300)]
cursors: CMake warning fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokwin: get the cursor theme and size via X11 functions in KWin::ZoomEffect::recreateTe...
Ivailo Monev [Tue, 15 Aug 2023 00:00:14 +0000 (03:00 +0300)]
kwin: get the cursor theme and size via X11 functions in KWin::ZoomEffect::recreateTexture()

for consistency (KWin-wise anyway)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: make use of the new KDE_DEFAULT_CURSOR_THEME definition
Ivailo Monev [Mon, 14 Aug 2023 23:40:22 +0000 (02:40 +0300)]
generic: make use of the new KDE_DEFAULT_CURSOR_THEME definition

requires d278c3c63c26aa0b0f63d630d27c210213015f1a from kdelibs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokwin: remove unused KWin::ZoomEffect members
Ivailo Monev [Mon, 14 Aug 2023 23:19:56 +0000 (02:19 +0300)]
kwin: remove unused KWin::ZoomEffect members

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokfind: adjust to KLocalizedString changes
Ivailo Monev [Mon, 14 Aug 2023 22:08:37 +0000 (01:08 +0300)]
kfind: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoksysguard: LogSensor::answerReceived() optimization
Ivailo Monev [Mon, 14 Aug 2023 20:20:56 +0000 (23:20 +0300)]
ksysguard: LogSensor::answerReceived() optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to KDateTime removal
Ivailo Monev [Mon, 14 Aug 2023 19:55:43 +0000 (22:55 +0300)]
generic: adjust to KDateTime removal

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: remove reference to non-existing source file
Ivailo Monev [Mon, 14 Aug 2023 17:42:00 +0000 (20:42 +0300)]
plasma: remove reference to non-existing source file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokstyles: remove check for non-existing QWebView class
Ivailo Monev [Mon, 14 Aug 2023 16:54:31 +0000 (19:54 +0300)]
kstyles: remove check for non-existing QWebView class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoklipper: remove check for non-existing QSpinWidget class
Ivailo Monev [Mon, 14 Aug 2023 16:44:25 +0000 (19:44 +0300)]
klipper: remove check for non-existing QSpinWidget class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: minor PanelAppletOverlay::paintEvent() optimization
Ivailo Monev [Mon, 14 Aug 2023 16:40:42 +0000 (19:40 +0300)]
plasma: minor PanelAppletOverlay::paintEvent() optimization

only for the case when the m_applet member is null

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdirshare: setup title and stylesheet for the errors
Ivailo Monev [Mon, 14 Aug 2023 14:53:00 +0000 (17:53 +0300)]
kdirshare: setup title and stylesheet for the errors

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: use KImageIO::isSupported() to check if dropped URL can be set as wallpaper...
Ivailo Monev [Mon, 14 Aug 2023 13:49:15 +0000 (16:49 +0300)]
plasma: use KImageIO::isSupported() to check if dropped URL can be set as wallpaper in folderview applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: setup the system-monitor Kelvin limit based on the Celsius and Fahrenheit...
Ivailo Monev [Sat, 12 Aug 2023 18:19:07 +0000 (21:19 +0300)]
plasma: setup the system-monitor Kelvin limit based on the Celsius and Fahrenheit limits

the upper limit (384) is the Celsius upper limit (110) converted to Kelvin,
the lower limit is chosen such that it is twice the Fahrenheit lower
limit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: implement configuration interface for the system-monitor applet temperature...
Ivailo Monev [Sat, 12 Aug 2023 17:59:56 +0000 (20:59 +0300)]
plasma: implement configuration interface for the system-monitor applet temperature unit

includes support for Kelvin unit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: initialize SM::Plotter::m_showAnalogValue member
Ivailo Monev [Sat, 12 Aug 2023 16:52:32 +0000 (19:52 +0300)]
plasma: initialize SM::Plotter::m_showAnalogValue member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agodolphin: update the container viewport palette on palette change event
Ivailo Monev [Sat, 12 Aug 2023 12:30:39 +0000 (15:30 +0300)]
dolphin: update the container viewport palette on palette change event

fixes color inconsistencies on color scheme change

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: sync status notifier image serialization bits
Ivailo Monev [Fri, 11 Aug 2023 22:36:15 +0000 (01:36 +0300)]
plasma: sync status notifier image serialization bits

with:
kdelibs/kdeui/notifications/kstatusnotifieritem.cpp

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: use QImageReader to find the wallpaper image size, fallback to the actual...
Ivailo Monev [Fri, 11 Aug 2023 21:59:15 +0000 (00:59 +0300)]
plasma: use QImageReader to find the wallpaper image size, fallback to the actual image size

fixes thread-safety issue and reduces the memory usage slightly

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: remove useless AUTHORS files
Ivailo Monev [Fri, 11 Aug 2023 17:12:42 +0000 (20:12 +0300)]
generic: remove useless AUTHORS files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: remove unused variable in PlacesEngine::sendData()
Ivailo Monev [Fri, 11 Aug 2023 16:44:41 +0000 (19:44 +0300)]
plasma: remove unused variable in PlacesEngine::sendData()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: remove activities documentation
Ivailo Monev [Fri, 11 Aug 2023 16:40:03 +0000 (19:40 +0300)]
plasma: remove activities documentation

acitivities feature was dropped long ago

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: avoid temporaries in ToolTipProxy::updateToolTip()
Ivailo Monev [Fri, 11 Aug 2023 16:36:44 +0000 (19:36 +0300)]
plasma: avoid temporaries in ToolTipProxy::updateToolTip()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: remove unused imports in tasks qml files
Ivailo Monev [Fri, 11 Aug 2023 16:32:43 +0000 (19:32 +0300)]
plasma: remove unused imports in tasks qml files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: remove non-operational ScriptEnv methods
Ivailo Monev [Fri, 11 Aug 2023 16:09:01 +0000 (19:09 +0300)]
plasma: remove non-operational ScriptEnv methods

the package structure for Plasma/JavascriptAddon is bogus - nothing
provides such files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agolibs: remove non-operational WorkspaceScripting::ScriptEngine::loadTemplate() method
Ivailo Monev [Fri, 11 Aug 2023 15:35:39 +0000 (18:35 +0300)]
libs: remove non-operational WorkspaceScripting::ScriptEngine::loadTemplate() method

plasma layout templates are no longer a thing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokstyles: preperations for Katie changes
Ivailo Monev [Fri, 11 Aug 2023 10:59:07 +0000 (13:59 +0300)]
kstyles: preperations for Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoksysguard: remove unused pics
Ivailo Monev [Thu, 10 Aug 2023 15:54:52 +0000 (18:54 +0300)]
ksysguard: remove unused pics

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to KAboutData changes
Ivailo Monev [Thu, 10 Aug 2023 14:48:01 +0000 (17:48 +0300)]
generic: adjust to KAboutData changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: remove dead and irrelevant links references
Ivailo Monev [Thu, 10 Aug 2023 12:15:13 +0000 (15:15 +0300)]
generic: remove dead and irrelevant links references

consider the mail references just as dead

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoksysguard: replace tabs with spaces
Ivailo Monev [Thu, 10 Aug 2023 09:25:01 +0000 (12:25 +0300)]
ksysguard: replace tabs with spaces

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokwin: ensure there are no duplicate rules
Ivailo Monev [Thu, 10 Aug 2023 08:28:51 +0000 (11:28 +0300)]
kwin: ensure there are no duplicate rules

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>
11 months agokwin: merge window rules into global rules config
Ivailo Monev [Thu, 10 Aug 2023 07:36:14 +0000 (10:36 +0300)]
kwin: merge window rules into global rules config

prior to 93a4a9263b47217b14e67c2296687901ecf76c4e it was done by a
separate program (kwin_update_default_rules)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokwin: correct patterns for window rules in kwinrules KCM
Ivailo Monev [Thu, 10 Aug 2023 07:31:08 +0000 (10:31 +0300)]
kwin: correct patterns for window rules in kwinrules KCM

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>
11 months agoklipper: adjust to KGlobalSettings changes
Ivailo Monev [Wed, 9 Aug 2023 00:59:05 +0000 (03:59 +0300)]
klipper: adjust to KGlobalSettings changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokwin: remove unused notification event
Ivailo Monev [Tue, 8 Aug 2023 23:40:58 +0000 (02:40 +0300)]
kwin: remove unused notification event

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokate: load the tabify plugin by default
Ivailo Monev [Tue, 8 Aug 2023 12:37:45 +0000 (15:37 +0300)]
kate: load the tabify plugin by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokioslave: enable cursorthumbnail by default
Ivailo Monev [Tue, 8 Aug 2023 12:31:44 +0000 (15:31 +0300)]
kioslave: enable cursorthumbnail by default

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>
11 months agokcontrol: remove bogus icons KCM bits
Ivailo Monev [Tue, 8 Aug 2023 10:20:44 +0000 (13:20 +0300)]
kcontrol: remove bogus icons KCM bits

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>
11 months agokcontrol: format and indent
Ivailo Monev [Tue, 8 Aug 2023 10:07:37 +0000 (13:07 +0300)]
kcontrol: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokate: const-ify variables in KateProjectWorker::loadFilesEntry()
Ivailo Monev [Mon, 7 Aug 2023 20:03:27 +0000 (23:03 +0300)]
kate: const-ify variables in KateProjectWorker::loadFilesEntry()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoRevert "plasma: use QColor::name() in Pager::updatePagerStyle()"
Ivailo Monev [Mon, 7 Aug 2023 19:29:20 +0000 (22:29 +0300)]
Revert "plasma: use QColor::name() in Pager::updatePagerStyle()"

This reverts commit 3bb3d55a72e6635ab45e51d028cdd2cb03b20f49.

11 months agoplasma: do not deep-copy the QMimeData formats in DeclarativeMimeData constructor
Ivailo Monev [Mon, 7 Aug 2023 19:14:56 +0000 (22:14 +0300)]
plasma: do not deep-copy the QMimeData formats in DeclarativeMimeData constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: use QColor::name() in Pager::updatePagerStyle()
Ivailo Monev [Mon, 7 Aug 2023 19:13:19 +0000 (22:13 +0300)]
plasma: use QColor::name() in Pager::updatePagerStyle()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: log backtrace when applications that are automatically restarted crash
Ivailo Monev [Mon, 7 Aug 2023 18:32:05 +0000 (21:32 +0300)]
generic: log backtrace when applications that are automatically restarted crash

previously the KCrash::AutoRestart flag was overriding all other flags -
that is no longer the case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokate: add qFmod to cpp syntax data
Ivailo Monev [Mon, 7 Aug 2023 10:48:04 +0000 (13:48 +0300)]
kate: add qFmod to cpp syntax data

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to Katie changes
Ivailo Monev [Sun, 6 Aug 2023 22:33:34 +0000 (01:33 +0300)]
generic: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdesudo: disable session management
Ivailo Monev [Sun, 6 Aug 2023 13:06:34 +0000 (16:06 +0300)]
kdesudo: disable session management

kdesudo does not support session restoration

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdepasswd: save the custom image to the faces directory by default
Ivailo Monev [Sun, 6 Aug 2023 12:57:08 +0000 (15:57 +0300)]
kdepasswd: save the custom image to the faces directory by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: format and indent
Ivailo Monev [Sun, 6 Aug 2023 04:54:24 +0000 (07:54 +0300)]
kcontrol: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: format and indent
Ivailo Monev [Sun, 6 Aug 2023 04:02:27 +0000 (07:02 +0300)]
kcontrol: format and indent

there is a copy of the table and the function at:
kde-extraapps/kvkbd/src/keysymconvert.cpp

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: partially revert f058709ed6b21f4d4e8b9116f8535ee2ece5aa99
Ivailo Monev [Sat, 5 Aug 2023 16:11:18 +0000 (19:11 +0300)]
plasma: partially revert f058709ed6b21f4d4e8b9116f8535ee2ece5aa99

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>
11 months agoplasma: create wallpaper containments for each screen by default
Ivailo Monev [Sat, 5 Aug 2023 14:21:47 +0000 (17:21 +0300)]
plasma: create wallpaper containments for each screen by default

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
772d9ff219edf487149d669c7abaf8523e3331f2

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: adjust notifications applet to KLocale changes
Ivailo Monev [Sat, 5 Aug 2023 14:08:29 +0000 (17:08 +0300)]
plasma: adjust notifications applet to KLocale changes

KLocale::formatDuration() does pretty much the same as what
KLocale::prettyFormatDuration() used to do

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: someone's typos
Ivailo Monev [Sat, 5 Aug 2023 13:16:55 +0000 (16:16 +0300)]
plasma: someone's typos

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: fix setup of primary display
Ivailo Monev [Sat, 5 Aug 2023 11:54:43 +0000 (14:54 +0300)]
kcontrol: fix setup of primary display

regression since 609a72aa8458e041e5ab1bade16554e4dbded96b, brought to my
attention via:
https://github.com/fluxer/katana/issues/41

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcminit: use KGlobalSettings::isMultiHead() instead of checking for hidden config key
Ivailo Monev [Sat, 5 Aug 2023 09:26:23 +0000 (12:26 +0300)]
kcminit: use KGlobalSettings::isMultiHead() instead of checking for hidden config key

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>
11 months agokwin: set the tabbox preview layout size to fit the preview images size
Ivailo Monev [Sat, 5 Aug 2023 04:35:09 +0000 (07:35 +0300)]
kwin: set the tabbox preview layout size to fit the preview images size

so that there is a empty space at the bottom of the preview, same as the
empty space at the top

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcrash: initialize kcrashsignal variable
Ivailo Monev [Sat, 5 Aug 2023 03:09:27 +0000 (06:09 +0300)]
kcrash: initialize kcrashsignal variable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdesudo: remove redundant KDESu::KDESuPrivate::KCookie::KCookiePrivate class
Ivailo Monev [Fri, 4 Aug 2023 09:59:32 +0000 (12:59 +0300)]
kdesudo: remove redundant KDESu::KDESuPrivate::KCookie::KCookiePrivate class

private class in a private namespace does not need a d pointer for compat

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdesudo: remove unused fake options
Ivailo Monev [Fri, 4 Aug 2023 09:53:41 +0000 (12:53 +0300)]
kdesudo: remove unused fake options

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: remove unused KRandRSystemTray::configChanged() method
Ivailo Monev [Fri, 4 Aug 2023 09:35:10 +0000 (12:35 +0300)]
kcontrol: remove unused KRandRSystemTray::configChanged() method

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>
11 months agokcontrol: update comment in randr KCM related to startup
Ivailo Monev [Fri, 4 Aug 2023 09:14:47 +0000 (12:14 +0300)]
kcontrol: update comment in randr KCM related to startup

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to KCrash changes
Ivailo Monev [Fri, 4 Aug 2023 07:04:29 +0000 (10:04 +0300)]
generic: adjust to KCrash changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to kBacktrace() function changes
Ivailo Monev [Fri, 4 Aug 2023 05:25:12 +0000 (08:25 +0300)]
generic: adjust to kBacktrace() function changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: match the untranslated terms as fallback in runners
Ivailo Monev [Fri, 4 Aug 2023 02:42:03 +0000 (05:42 +0300)]
plasma: match the untranslated terms as fallback in runners

see the previous commit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: match the untranslated term as fallback from bookmarks runner
Ivailo Monev [Fri, 4 Aug 2023 00:50:37 +0000 (03:50 +0300)]
plasma: match the untranslated term as fallback from bookmarks runner

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>
11 months agoplasma: bookmarks runner optimization
Ivailo Monev [Fri, 4 Aug 2023 00:37:25 +0000 (03:37 +0300)]
plasma: bookmarks runner optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcrash: use persistent notifications
Ivailo Monev [Thu, 3 Aug 2023 21:42:34 +0000 (00:42 +0300)]
kcrash: use persistent notifications

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: remove unused desktop file entries
Ivailo Monev [Thu, 3 Aug 2023 19:27:32 +0000 (22:27 +0300)]
generic: remove unused desktop file entries

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: remove references to gone runners
Ivailo Monev [Thu, 3 Aug 2023 19:12:38 +0000 (22:12 +0300)]
plasma: remove references to gone runners

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to KCrash changes
Ivailo Monev [Thu, 3 Aug 2023 08:32:15 +0000 (11:32 +0300)]
generic: adjust to KCrash changes

on a side note generating backtrace via drkonqi was not working on some
systems where traces are disabled by default (for security reasons) and
it required not only to install debug packages or build for debugging
purposes but also to setup the system so that backtrace can be generated
to get something out of it

where that is no the case on Linux there is usually a core dump in the
system log anyway thus the only thing a program related to crashes has
to do is to notify about it and (when possible) automatically file some
information (with the option to disable that)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: remove unused D-Bus interface reference
Ivailo Monev [Thu, 3 Aug 2023 01:33:47 +0000 (04:33 +0300)]
kcontrol: remove unused D-Bus interface reference

krunner is no longer responsible for ASN, for reference:
a5fa8348e392643d451209e6d228c8a8db295674

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: correct signal/slot connection in Image::createConfigurationInterface()
Ivailo Monev [Wed, 2 Aug 2023 21:43:45 +0000 (00:43 +0300)]
plasma: correct signal/slot connection in Image::createConfigurationInterface()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: set the locale of dateandtime KCM time widget to match the global KLocale...
Ivailo Monev [Wed, 2 Aug 2023 10:45:31 +0000 (13:45 +0300)]
kcontrol: set the locale of dateandtime KCM time widget to match the global KLocale instance

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoplasma: port to the new KTimeEdit class
Ivailo Monev [Wed, 2 Aug 2023 10:17:53 +0000 (13:17 +0300)]
plasma: port to the new KTimeEdit class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to Katie changes
Ivailo Monev [Wed, 2 Aug 2023 00:19:58 +0000 (03:19 +0300)]
generic: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: add feature information about ntpdate and rdate
Ivailo Monev [Tue, 1 Aug 2023 06:56:01 +0000 (09:56 +0300)]
generic: add feature information about ntpdate and rdate

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agolibs: use KCatalogLoader to load the libtaskmanager catalog
Ivailo Monev [Tue, 1 Aug 2023 04:27:16 +0000 (04:27 +0000)]
libs: use KCatalogLoader to load the libtaskmanager catalog

event tho TaskManager::TaskManager is singleton manually removing the
catalog can result in empty strings (catalogs are no longer reference
counted)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokioslave: remove unused protocol file entries
Ivailo Monev [Mon, 31 Jul 2023 20:30:59 +0000 (20:30 +0000)]
kioslave: remove unused protocol file entries

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdontchangethehostname: adjust to KToolInvocation changes
Ivailo Monev [Mon, 31 Jul 2023 09:24:25 +0000 (09:24 +0000)]
kdontchangethehostname: adjust to KToolInvocation changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: drop unused oxygen style background pixmap feature
Ivailo Monev [Mon, 31 Jul 2023 08:53:14 +0000 (08:53 +0000)]
generic: drop unused oxygen style background pixmap feature

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: replace QVarLengthArray<T> with std::vector<T> and QVector<T>
Ivailo Monev [Sun, 30 Jul 2023 18:50:02 +0000 (18:50 +0000)]
generic: replace QVarLengthArray<T> with std::vector<T> and QVector<T>

std::vector<T> for when the data does not have to be shared (e.g. POD
types) and there is no Q_DECLARE_TYPEINFO() involved, QVector<T> for when
data should be shared

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokate: remove unused variable in KatePartPluginConfigPage constructor
Ivailo Monev [Sun, 30 Jul 2023 06:06:57 +0000 (09:06 +0300)]
kate: remove unused variable in KatePartPluginConfigPage constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: remove unused input KCM files
Ivailo Monev [Sun, 30 Jul 2023 05:04:48 +0000 (08:04 +0300)]
kcontrol: remove unused input KCM files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokcontrol: remove display KCM
Ivailo Monev [Sun, 30 Jul 2023 04:24:41 +0000 (07:24 +0300)]
kcontrol: remove display KCM

it is essentially container for other modules and all but the randr
module are not valid (not maintained as part of Katana)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>