OSDN Git Service

kde/kde-workspace.git
18 months agogeneric: log kdirshare and kscreensaver messages to specialized debug area 4.22.0
Ivailo Monev [Thu, 1 Dec 2022 16:35:21 +0000 (18:35 +0200)]
generic: log kdirshare and kscreensaver messages to specialized debug area

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokate: register as plugin
Ivailo Monev [Thu, 1 Dec 2022 00:25:09 +0000 (02:25 +0200)]
kate: register as plugin

KTextEditor::Factory does its own thing in terms of plugin lookup, view
creation and such. the plan is to remove the KTextEditor interface glue
code (because there is only one part providing the functionality for that
interface - katepart) and register KateDocument as part plugin via
K_PLUGIN_FACTORY() macro but until then that will work

fixes loading of the part in some cases (e.g. when Ark attempts to load it
from its previewer)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokrunner: correct break indendation in SelectionBar::itemChange()
Ivailo Monev [Wed, 30 Nov 2022 17:51:01 +0000 (19:51 +0200)]
krunner: correct break indendation in SelectionBar::itemChange()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoplasma: rename Auros wallpaper image to match its size
Ivailo Monev [Wed, 30 Nov 2022 05:01:34 +0000 (07:01 +0200)]
plasma: rename Auros wallpaper image to match its size

incorrect since before the fork

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoplasma: use Auros as default wallpaper for oxygen desktop theme
Ivailo Monev [Wed, 30 Nov 2022 04:53:14 +0000 (06:53 +0200)]
plasma: use Auros as default wallpaper for oxygen desktop theme

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agolibs: try harder to find the current seat from KDisplayManager::newSession()
Ivailo Monev [Wed, 30 Nov 2022 04:20:18 +0000 (06:20 +0200)]
libs: try harder to find the current seat from KDisplayManager::newSession()

the `dbus-update-activation-environment --all` call in startkde script
should export it to applications started by D-Bus too but just in case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: correct XkbSetControls() return value check
Ivailo Monev [Wed, 30 Nov 2022 02:49:17 +0000 (04:49 +0200)]
kcontrol: correct XkbSetControls() return value check

I should've checked the return type before commit
7e5939c9fbc4ff1f8d3a2f7a9ee0a61e604d1627

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: supress screen power management while playing
Ivailo Monev [Wed, 30 Nov 2022 04:38:54 +0000 (06:38 +0200)]
kmediaplayer: supress screen power management while playing

feels like adding cherry on top, I want to release soon tho..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoplasma: check the reply of the org.freedesktop.ScreenSaver.Lock call in PowerManageme...
Ivailo Monev [Wed, 30 Nov 2022 01:03:38 +0000 (03:03 +0200)]
plasma: check the reply of the org.freedesktop.ScreenSaver.Lock call in PowerManagementJob::start()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoksmserver: handle all currently supported power sleep methods
Ivailo Monev [Tue, 29 Nov 2022 23:54:45 +0000 (01:54 +0200)]
ksmserver: handle all currently supported power sleep methods

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoplasma: use Solid::PowerManagement::StandbyState for standby
Ivailo Monev [Tue, 29 Nov 2022 23:40:18 +0000 (01:40 +0200)]
plasma: use Solid::PowerManagement::StandbyState for standby

internally it is handled as Solid::PowerManagement::SuspendState tho so no
real functional change, it will be replaced with HybridSuspendState
eventually

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoplasma: check if shutdown can be performed from PowerManagementJob::start()
Ivailo Monev [Tue, 29 Nov 2022 23:26:58 +0000 (01:26 +0200)]
plasma: check if shutdown can be performed from PowerManagementJob::start()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoplasma: remove redundant breaks in PowermanagementEngine::batteryType()
Ivailo Monev [Tue, 29 Nov 2022 23:14:39 +0000 (01:14 +0200)]
plasma: remove redundant breaks in PowermanagementEngine::batteryType()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoplasma: replace PowerManagementJob::requestShutDown() with its body
Ivailo Monev [Tue, 29 Nov 2022 23:10:44 +0000 (01:10 +0200)]
plasma: replace PowerManagementJob::requestShutDown() with its body

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoplasma: remove unused PowerManagementJob enum and non-existing method declaration
Ivailo Monev [Tue, 29 Nov 2022 23:09:20 +0000 (01:09 +0200)]
plasma: remove unused PowerManagementJob enum and non-existing method declaration

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agolibs: remove now unused variable
Ivailo Monev [Tue, 29 Nov 2022 22:37:56 +0000 (00:37 +0200)]
libs: remove now unused variable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agolibs: plug memory and X11 pixmaps leaks
Ivailo Monev [Tue, 29 Nov 2022 22:32:47 +0000 (00:32 +0200)]
libs: plug memory and X11 pixmaps leaks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: correct youtube search provider URL
Ivailo Monev [Tue, 29 Nov 2022 13:25:51 +0000 (15:25 +0200)]
kurifilter-plugins: correct youtube search provider URL

incorrect since d55a11e42cad8e8cb78f8e50486b13bb1135fb07

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update yahoo_image search provider URL
Ivailo Monev [Tue, 29 Nov 2022 13:24:05 +0000 (15:24 +0200)]
kurifilter-plugins: update yahoo_image search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: remove thesaurus search provider
Ivailo Monev [Tue, 29 Nov 2022 13:15:54 +0000 (15:15 +0200)]
kurifilter-plugins: remove thesaurus search provider

same as webster

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update uspto search provider URL
Ivailo Monev [Tue, 29 Nov 2022 13:13:53 +0000 (15:13 +0200)]
kurifilter-plugins: update uspto search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update thesaurus search provider URL
Ivailo Monev [Tue, 29 Nov 2022 13:11:22 +0000 (15:11 +0200)]
kurifilter-plugins: update thesaurus search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: remove sourceforge search provider queries for non-english locale
Ivailo Monev [Tue, 29 Nov 2022 13:05:10 +0000 (15:05 +0200)]
kurifilter-plugins: remove sourceforge search provider queries for non-english locale

serve no purpose

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update rpmfind search provider URL
Ivailo Monev [Tue, 29 Nov 2022 13:02:03 +0000 (15:02 +0200)]
kurifilter-plugins: update rpmfind search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update rfc search provider URL
Ivailo Monev [Tue, 29 Nov 2022 13:01:09 +0000 (15:01 +0200)]
kurifilter-plugins: update rfc search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: remove rag search provider
Ivailo Monev [Tue, 29 Nov 2022 12:55:59 +0000 (14:55 +0200)]
kurifilter-plugins: remove rag search provider

unreachable (i.e. does not exist)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: remove qwant_news search provider
Ivailo Monev [Tue, 29 Nov 2022 12:53:07 +0000 (14:53 +0200)]
kurifilter-plugins: remove qwant_news search provider

no longer works

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update pgpkeys search provider URL
Ivailo Monev [Tue, 29 Nov 2022 12:52:40 +0000 (14:52 +0200)]
kurifilter-plugins: update pgpkeys search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update nl-telephone search provider URL
Ivailo Monev [Tue, 29 Nov 2022 12:27:47 +0000 (14:27 +0200)]
kurifilter-plugins: update nl-telephone search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update multiran search providers URL
Ivailo Monev [Tue, 29 Nov 2022 12:23:02 +0000 (14:23 +0200)]
kurifilter-plugins: update multiran search providers URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update grec search provider URL
Ivailo Monev [Tue, 29 Nov 2022 12:04:39 +0000 (14:04 +0200)]
kurifilter-plugins: update grec search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update foldoc search provider URL
Ivailo Monev [Tue, 29 Nov 2022 11:55:18 +0000 (13:55 +0200)]
kurifilter-plugins: update foldoc search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: remove flickrcc search provider
Ivailo Monev [Tue, 29 Nov 2022 11:51:16 +0000 (13:51 +0200)]
kurifilter-plugins: remove flickrcc search provider

the normal flickr search provider works but there are no docs about
the query flickrcc uses (and it does not seem to make difference to the
search when using the URL in the desktop file)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: correct de2en and en2de search provider URLs
Ivailo Monev [Tue, 29 Nov 2022 11:33:07 +0000 (13:33 +0200)]
kurifilter-plugins: correct de2en and en2de search provider URLs

those have been incorrect since before the fork btw, I can add more
search provider desktop files for dict.cc in the future since it has a lot
of translation options

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: remove ethicle search provider
Ivailo Monev [Tue, 29 Nov 2022 11:25:01 +0000 (13:25 +0200)]
kurifilter-plugins: remove ethicle search provider

same as ecosia, their meta query no longer works

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: remove docbook provider
Ivailo Monev [Tue, 29 Nov 2022 11:14:57 +0000 (13:14 +0200)]
kurifilter-plugins: remove docbook provider

uses external search engine and most of the links on the page (which was
last updated in 2016 according to the date at the bottom) lead elsewhere

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update dbug search provider URL
Ivailo Monev [Tue, 29 Nov 2022 11:09:06 +0000 (13:09 +0200)]
kurifilter-plugins: update dbug search provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokurifilter-plugins: update backports search provider URL
Ivailo Monev [Tue, 29 Nov 2022 11:06:45 +0000 (13:06 +0200)]
kurifilter-plugins: update backports search provider URL

bullseye is the current stable Debian release

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: fix regression since 45fbbf2582e23ca9775ca949f24b947673ef9388
Ivailo Monev [Tue, 29 Nov 2022 10:40:45 +0000 (12:40 +0200)]
kcontrol: fix regression since 45fbbf2582e23ca9775ca949f24b947673ef9388

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agodolphin: pause the information panel video player instead of stopping it
Ivailo Monev [Tue, 29 Nov 2022 09:37:32 +0000 (11:37 +0200)]
dolphin: pause the information panel video player instead of stopping it

MPV causes fatal X11 I/O if it is stopped for some reason, fixes crash
in case of KDirNotify event

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokeditfiletype: remove bogus TODO
Ivailo Monev [Tue, 29 Nov 2022 09:34:01 +0000 (11:34 +0200)]
keditfiletype: remove bogus TODO

see c06770a96f292f807ea218450818eb8dec37fa41 in kdelibs repo

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agodolphin: use proper type for the folder stat job
Ivailo Monev [Tue, 29 Nov 2022 09:07:12 +0000 (11:07 +0200)]
dolphin: use proper type for the folder stat job

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agodolphin: connect to KDirNotify signals after InformationPanelContent is created
Ivailo Monev [Tue, 29 Nov 2022 09:01:23 +0000 (11:01 +0200)]
dolphin: connect to KDirNotify signals after InformationPanelContent is created

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokioslave: use QTextCodec::codecForText() for text encoding detection in textthumbnail...
Ivailo Monev [Tue, 29 Nov 2022 06:20:18 +0000 (08:20 +0200)]
kioslave: use QTextCodec::codecForText() for text encoding detection in textthumbnail thumbnailer

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: save and restore the initial directory when opening path via dialog
Ivailo Monev [Tue, 29 Nov 2022 06:15:09 +0000 (08:15 +0200)]
kmediaplayer: save and restore the initial directory when opening path via dialog

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: pop error instead of information messages from the part
Ivailo Monev [Tue, 29 Nov 2022 06:06:59 +0000 (08:06 +0200)]
kmediaplayer: pop error instead of information messages from the part

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: log the playing state when reading properties
Ivailo Monev [Tue, 29 Nov 2022 06:02:24 +0000 (08:02 +0200)]
kmediaplayer: log the playing state when reading properties

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: bump kmediaplayerui.rc version
Ivailo Monev [Tue, 29 Nov 2022 06:01:47 +0000 (08:01 +0200)]
kmediaplayer: bump kmediaplayerui.rc version

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: bump version to 1.1.0
Ivailo Monev [Tue, 29 Nov 2022 05:57:53 +0000 (07:57 +0200)]
kmediaplayer: bump version to 1.1.0

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: use KMessageBox instead of QMessageBox for reporting errors
Ivailo Monev [Tue, 29 Nov 2022 05:55:20 +0000 (07:55 +0200)]
kmediaplayer: use KMessageBox instead of QMessageBox for reporting errors

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: adjust to KMediaWidget changes
Ivailo Monev [Tue, 29 Nov 2022 05:09:40 +0000 (07:09 +0200)]
kmediaplayer: adjust to KMediaWidget changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: restore the pause/play state aswell
Ivailo Monev [Tue, 29 Nov 2022 04:28:51 +0000 (06:28 +0200)]
kmediaplayer: restore the pause/play state aswell

chromium and some other applications have to catch up on session
restoration,  chromium for example cannot even shutdown correctly and
it's a "uh, oh" situation the next time it is launched after logout
(unless closed manually before logout). tabs restoration is not session
restoration btw, not to X11 anyway.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: adjust to KMediaWidget changes
Ivailo Monev [Tue, 29 Nov 2022 04:21:25 +0000 (06:21 +0200)]
kmediaplayer: adjust to KMediaWidget changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: restore position after the player has actually loaded the path
Ivailo Monev [Tue, 29 Nov 2022 03:52:21 +0000 (05:52 +0200)]
kmediaplayer: restore position after the player has actually loaded the path

I should implement session restoration for KMail and KEmu, maybe in the
next release cycle tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: implement session restoration
Ivailo Monev [Tue, 29 Nov 2022 03:21:47 +0000 (05:21 +0200)]
kmediaplayer: implement session restoration

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: save the current menu and status bar state after calling KXmlGuiWindow...
Ivailo Monev [Tue, 29 Nov 2022 01:10:00 +0000 (03:10 +0200)]
kmediaplayer: save the current menu and status bar state after calling KXmlGuiWindow::showEvent()

KXmlGuiWindow::showEvent() may trigger things such as restoring the window
state

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agodolphin: hide the image preview before showing the video player
Ivailo Monev [Mon, 28 Nov 2022 20:37:39 +0000 (22:37 +0200)]
dolphin: hide the image preview before showing the video player

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agodolphin: parent InformationPanelContent widget to itself
Ivailo Monev [Mon, 28 Nov 2022 20:09:32 +0000 (22:09 +0200)]
dolphin: parent InformationPanelContent widget to itself

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agodolphin: set the maximum size of the video preview widget even if it is not visible
Ivailo Monev [Mon, 28 Nov 2022 19:01:56 +0000 (21:01 +0200)]
dolphin: set the maximum size of the video preview widget even if it is not visible

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agodolphin: do not set the video player maximum size to the current size of the image...
Ivailo Monev [Sun, 27 Nov 2022 04:36:07 +0000 (06:36 +0200)]
dolphin: do not set the video player maximum size to the current size of the image preview

their minimum and maximum sizes are set to match now but their hints differ
on purpose

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agodolphin: set the minimum height of the KMediaWidget
Ivailo Monev [Sun, 27 Nov 2022 04:19:00 +0000 (06:19 +0200)]
dolphin: set the minimum height of the KMediaWidget

to match that of the image preview widget

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayr: reuse variable
Ivailo Monev [Sun, 27 Nov 2022 03:11:36 +0000 (05:11 +0200)]
kmediaplayr: reuse variable

KActionCollection takes ownership of the actions and the variable is just
a temporary to ease setup

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: typo
Ivailo Monev [Sun, 27 Nov 2022 03:05:58 +0000 (05:05 +0200)]
kmediaplayer: typo

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: mark KMediaWindow reimplementations as final
Ivailo Monev [Sun, 27 Nov 2022 03:04:31 +0000 (05:04 +0200)]
kmediaplayer: mark KMediaWindow reimplementations as final

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: prefix slots with "slot"
Ivailo Monev [Sun, 27 Nov 2022 03:03:01 +0000 (05:03 +0200)]
kmediaplayer: prefix slots with "slot"

KMediaWindow inherits KXmlGuiWindow which inherits KMainWindow, which
inherits QMainWindow, which has a menuBar() getter that should not be
confused with the KMediaWindow class slot. same goes for
KMediaWindow::menubar() (now named KMediaWindow::slotMenubar()) and
QMainWindow::menuBar()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: set the part object name
Ivailo Monev [Sat, 26 Nov 2022 21:28:02 +0000 (23:28 +0200)]
kmediaplayer: set the part object name

used by debug message in kdelibs/kparts/part.cpp

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokmediaplayer: use QPointer<T> to store the KMediaWidget pointer
Ivailo Monev [Sat, 26 Nov 2022 18:44:13 +0000 (20:44 +0200)]
kmediaplayer: use QPointer<T> to store the KMediaWidget pointer

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokrunner: remove unused constant in KRunnerDialog::updateMask()
Ivailo Monev [Sat, 26 Nov 2022 04:49:13 +0000 (06:49 +0200)]
krunner: remove unused constant in KRunnerDialog::updateMask()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoksmserver: process events until kded second phase is done
Ivailo Monev [Sat, 26 Nov 2022 03:11:24 +0000 (05:11 +0200)]
ksmserver: process events until kded second phase is done

now that phase 2 is properly done (see
86082941ab933b36fb7df267f3abd2625757f4ba in kdelibs repo) it could
block for a few seconds

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokioslave: add image/vnd.djvu+multipage to the djvuthumbnail MIME types
Ivailo Monev [Fri, 25 Nov 2022 22:23:52 +0000 (00:23 +0200)]
kioslave: add image/vnd.djvu+multipage to the djvuthumbnail MIME types

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokioslave: const-ify variable in ThumbnailProtocol::pluginForMimeType()
Ivailo Monev [Fri, 25 Nov 2022 22:19:33 +0000 (00:19 +0200)]
kioslave: const-ify variable in ThumbnailProtocol::pluginForMimeType()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokdirshare: write share entry into the kdirsharerc config from KDirShareModule::share()
Ivailo Monev [Fri, 25 Nov 2022 19:05:34 +0000 (21:05 +0200)]
kdirshare: write share entry into the kdirsharerc config from KDirShareModule::share()

should the worst happen and kded4 crash the share settings will be saved
regardless (unless it crashes because of KDirShareModule::share())

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokdirshare: use KRandom::randomMax() for less round-trips
Ivailo Monev [Fri, 25 Nov 2022 17:08:42 +0000 (19:08 +0200)]
kdirshare: use KRandom::randomMax() for less round-trips

feels like a new KRandom::randomRange() method is needed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokdirshare: update comment related to kpasswdstore service
Ivailo Monev [Fri, 25 Nov 2022 16:37:40 +0000 (18:37 +0200)]
kdirshare: update comment related to kpasswdstore service

kpasswdstore service is now loaded in phase 1 and kdirshare in phase 2 (the
default)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agolibs: remove bogus extern reference
Ivailo Monev [Thu, 24 Nov 2022 23:02:30 +0000 (01:02 +0200)]
libs: remove bogus extern reference

there is no such thing as Kapp, is not used either

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agogeneric: remove redundant HAVE_XRENDER configuration definition
Ivailo Monev [Thu, 24 Nov 2022 22:39:15 +0000 (00:39 +0200)]
generic: remove redundant HAVE_XRENDER configuration definition

if Xrender is not found a fatal message will be issued by the top-level
CMakeLists file because it is required by KWin compositor for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokate: log the file (Kate::TextLoader) codec name
Ivailo Monev [Thu, 24 Nov 2022 01:12:29 +0000 (03:12 +0200)]
kate: log the file (Kate::TextLoader) codec name

m_textCodec is used only to probe, if BOM is detected m_textCodec may be
null. fixes possible crash

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokate: adjust to Katie changes
Ivailo Monev [Thu, 24 Nov 2022 01:01:18 +0000 (03:01 +0200)]
kate: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokstyles: adjust to Katie changes
Ivailo Monev [Wed, 23 Nov 2022 22:40:22 +0000 (00:40 +0200)]
kstyles: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokate: add QGuiPlatformPlugin class to cpp syntax data
Ivailo Monev [Tue, 22 Nov 2022 21:06:23 +0000 (23:06 +0200)]
kate: add QGuiPlatformPlugin class to cpp syntax data

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: read font settings directly from the kdeglobals config
Ivailo Monev [Tue, 22 Nov 2022 18:12:44 +0000 (20:12 +0200)]
kcontrol: read font settings directly from the kdeglobals config

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: adjust to Katie changes
Ivailo Monev [Tue, 22 Nov 2022 17:55:04 +0000 (19:55 +0200)]
kcontrol: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: enable animatetoolbox when effects are enabled
Ivailo Monev [Tue, 22 Nov 2022 13:46:06 +0000 (15:46 +0200)]
kcontrol: enable animatetoolbox when effects are enabled

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: partial fix for KGlobalSettings race
Ivailo Monev [Tue, 22 Nov 2022 03:18:50 +0000 (05:18 +0200)]
kcontrol: partial fix for KGlobalSettings race

the style KCM for example emits changes via
KGlobalSettings::self()->emitChange() however it does not wait for the
KGlobalSettings::settingsChanged() signal (which means settings are
reloaded) before running krdb, font and palette settings are likely subject
to this race-condition but for now that will do

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agogeneric: adjust to KGlobalSettings changes
Ivailo Monev [Tue, 22 Nov 2022 03:05:45 +0000 (05:05 +0200)]
generic: adjust to KGlobalSettings changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: remove unused applyQtColors() and applyQtSettings() arguments
Ivailo Monev [Tue, 22 Nov 2022 00:29:27 +0000 (02:29 +0200)]
kcontrol: remove unused applyQtColors() and applyQtSettings() arguments

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: run krdb after emiting KGlobalSettings changes from style KCM
Ivailo Monev [Tue, 22 Nov 2022 00:28:15 +0000 (02:28 +0200)]
kcontrol: run krdb after emiting KGlobalSettings changes from style KCM

krdb itself uses KGlobalSettings to get the palette, font and other
settings

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: flush the QSettings changes before notifying applications about the changes
Ivailo Monev [Tue, 22 Nov 2022 00:16:34 +0000 (02:16 +0200)]
kcontrol: flush the QSettings changes before notifying applications about the changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokcontrol: enable Katie effects based on Katana graphics effect level
Ivailo Monev [Mon, 21 Nov 2022 21:51:37 +0000 (23:51 +0200)]
kcontrol: enable Katie effects based on Katana graphics effect level

note that the only way to set EffectsEnabled, EffectFadeMenu,
EffectFadeTooltip and EffectAnimateCombo was manually (by editing the
~/.katana/share/config/kdeglobals config file) because there is no GUI for
those config options but there is for the graphics effects level

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agostartkde: update D-Bus session environment with all variable set by the script
Ivailo Monev [Mon, 21 Nov 2022 19:03:20 +0000 (21:03 +0200)]
startkde: update D-Bus session environment with all variable set by the script

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agostartkde: unset kcheckrunning_result after it is no longer required
Ivailo Monev [Mon, 21 Nov 2022 18:59:20 +0000 (20:59 +0200)]
startkde: unset kcheckrunning_result after it is no longer required

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokate: always use the KMessageWidget animation feature
Ivailo Monev [Mon, 21 Nov 2022 16:57:45 +0000 (18:57 +0200)]
kate: always use the KMessageWidget animation feature

note that the KMessageWidget animation is a fade effect so
KateFadeEffect was doing what KMessageWidget already has the feature
for, grow/shrink effect is not a thing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoksmserver: start the shutdown feedback from KSMShutdownDlg constructor and stop it...
Ivailo Monev [Sat, 19 Nov 2022 23:54:00 +0000 (01:54 +0200)]
ksmserver: start the shutdown feedback from KSMShutdownDlg constructor and stop it on reject

ksmserver stops it when the dialog is rejected but the test did not for
example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoksmserver: make KSMShutdownFeedback::stop() do the same thing as KSMShutdownFeedback...
Ivailo Monev [Sat, 19 Nov 2022 23:32:39 +0000 (01:32 +0200)]
ksmserver: make KSMShutdownFeedback::stop() do the same thing as KSMShutdownFeedback::logoutCanceled()

for some reason KSMShutdownFeedback::stop() was not doing anything when the
KWin effect was taking care of the logout effect but KWin also does not
apply the effect to windows other than the one created by ksmserver

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoksmserver: fix build of tests
Ivailo Monev [Sat, 19 Nov 2022 23:16:35 +0000 (01:16 +0200)]
ksmserver: fix build of tests

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokwin: remove obsolete decoration slots
Ivailo Monev [Fri, 18 Nov 2022 00:32:40 +0000 (02:32 +0200)]
kwin: remove obsolete decoration slots

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokwin: correct switch cases indentation in oxygenclient header
Ivailo Monev [Fri, 18 Nov 2022 00:26:10 +0000 (02:26 +0200)]
kwin: correct switch cases indentation in oxygenclient header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokmail: use the URL path as CC fallback
Ivailo Monev [Thu, 17 Nov 2022 02:06:25 +0000 (04:06 +0200)]
kmail: use the URL path as CC fallback

the complete URL includes query items

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokioslave: sync preview defaults
Ivailo Monev [Wed, 16 Nov 2022 21:54:02 +0000 (23:54 +0200)]
kioslave: sync preview defaults

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agodolphin: implement option for preview icon alpha
Ivailo Monev [Wed, 16 Nov 2022 21:53:34 +0000 (23:53 +0200)]
dolphin: implement option for preview icon alpha

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