Commit graph

3286 commits

Author SHA1 Message Date
Ivailo Monev
a18ead4b58 dolphin: hide the view container message widget used directory loading starts
under some conditions it can happen that error occurs but it happens before
the directory loading completion signal is emitted and it is as if the
message is not shown, a typical case was when connecting to remote host
fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-20 08:45:19 +02:00
Ivailo Monev
ef0bcb0ee5 plasma: do not assume the MIME type of the jobs destination URL in notifications applet
it may be a temporary file job and the destination in that case is a URL
pointing to file in /tmp (or other directory for such files)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-20 01:14:01 +02:00
Ivailo Monev
e051efd5bf startkde: update sycoca database
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-19 01:10:11 +02:00
Ivailo Monev
72b9dd528d generic: make use of the new solid processor feature
requires the following commit from kdelibs:
9a33d048baab0cf05f670b6afa773f3e2c315413

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-17 06:04:12 +02:00
Ivailo Monev
8134f72962 kioslave: reimplement the sftp slave and move it to kdelibs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-17 00:51:34 +02:00
Ivailo Monev
59ebe94c6e qguiplatformplugin_kde: adjust to KFileDialog changes
the changes date back to 2015, see the following commit in kdelibs repo:
21ad0df4885be0723a6cc3e513939f9834f53183

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-16 08:24:45 +02:00
Ivailo Monev
9d5cc8fed6 generic: remove redundant Q_OS_UNIX definition checks
always defined now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 09:23:17 +02:00
Ivailo Monev
96f645afe4 generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 09:05:41 +02:00
Ivailo Monev
738490954b kstyles: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 07:35:15 +02:00
Ivailo Monev
5c1b5a284f generic: remove konqueror leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 05:02:56 +02:00
Ivailo Monev
bbdada22fd kcontrol: fix spellchecking KCM reset and defaults actions
and because I rewrote everything underneath the KCM (which happened last
year) copyright goes to me

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 00:46:27 +02:00
Ivailo Monev
94fc697139 knotify: fix KCM reset
things get complicated when one method (KCMNotification::load()) is used
for more than one thing (load and reset)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 00:17:00 +02:00
Ivailo Monev
7797c5d302 kcontrol: do not call kClearDebugConfig() and do not send D-Bus message from kdebug KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-14 21:36:22 +02:00
Ivailo Monev
3a8a39a896 plasma: update systemtray applet arrow when its layout orientation changes
for the case when the panel is moved from one screen edge to other for
example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-14 06:22:48 +02:00
Ivailo Monev
8cb2c3f556 plasma: enable configuration interface icon for mixer and weather applets in their handle
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-14 06:05:15 +02:00
Ivailo Monev
1bc77d7777 plasma: set the aspect ration mode of keyboard applet to Plasma::AspectRatioMode::ConstrainedSquare
because no size at all is set, otherwise it should be set to
Plasma::AspectRatioMode::KeepAspectRatio and the size set to something like
128x128

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-14 05:49:00 +02:00
Ivailo Monev
a2a41e4e5d kfreespace: default to 1/10 of the total space
credits to Benjamin Grant for making me do it, fallback is still 1 GB and
the configuration interface remains the same but the default should fit
more cases now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-03 06:02:36 +02:00
Ivailo Monev
e40d992f82 plasma: reference the alternative geoplugin domain
http://www.geoplugin.net/json.gp is accessible but http://www.geoplugin.net/
is not, great..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-01-27 02:44:56 +02:00
Ivailo Monev
027a9881cd kwin: replace hard-coded default with method call
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 11:16:44 +02:00
Ivailo Monev
a49fd23243 kwin: remove fullscreen hack
there never was a way to enable it (not via gui anyway) meaning the bits
are doing nothing (other than slow down kwin that is)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 02:40:38 +02:00
Ivailo Monev
df90948b17 kwin: remove now redundant workaround for broken input handling
this has been there for a long time, huh?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 01:53:25 +02:00
Ivailo Monev
a5ccdcd415 plasma: break once timezone is found on weather applet config change
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 01:10:49 +02:00
Ivailo Monev
adfa0d2cb5 plasma: use different text for the night period in weather applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 01:07:06 +02:00
Ivailo Monev
c31839755f kate: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 00:49:55 +02:00
Ivailo Monev
8c756d868f plasma: handle key events in calculator applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-23 15:51:05 +03:00
Ivailo Monev
b020c49657 plasma: do not set tooltip for the mixer applet icons
the element name is shown as frame text

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-23 14:09:32 +03:00
Ivailo Monev
7e89730e42 libs: disable favicons KDED module test case
was passing tho..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-23 13:39:22 +03:00
Ivailo Monev
69806fd6b3 kate: testing build fix
for reference:
0dc8347c49

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-23 13:26:55 +03:00
Ivailo Monev
4f1db8a74e kwin: warn if resetting the decoration settings fails
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-23 07:00:31 +03:00
Ivailo Monev
e33272eab0 kwin: remove unused Oxygen::Config methods arguments
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-23 06:56:12 +03:00
Ivailo Monev
d70570e598 kwin: delete the already created plugin config widget from KWin::KWinDecorationModule::load()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-23 06:30:47 +03:00
Ivailo Monev
516b46e3ec kcontrol: use the same presentwindows layout mode for desktop and netbook
presentwindows being the kwin effect name

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 19:29:41 +03:00
Ivailo Monev
86d4e57798 kcontrol: ensure the keyboard KCM options dialog state text is not elided
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 18:27:15 +03:00
Ivailo Monev
f9f7c94639 kwin: implement option to set the X11 picture filter to any of the currently supported, default to "good"
obviously using the "good" filter as default can have a performance impact
but if the system cannot handle it the option is there

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 18:00:18 +03:00
Ivailo Monev
ba3c114047 plasma: correct comment in pager applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 16:00:56 +03:00
Ivailo Monev
56cf42f744 plasma: take popup status into account in SystemTrayApplet::slotShowHidden()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 15:58:02 +03:00
Ivailo Monev
b6b0e52456 kwin: restore kwindecoration KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 15:42:16 +03:00
Ivailo Monev
4ebf69bf84 plasma: destroy and load applets conditionally in systemtray applet
mostly to avoid resizing of the systemtray applet due to popup applets
(when loaded/added the initial popup applets size may be big and then
shrinked to icon depending on the applet minimum size)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 08:31:47 +03:00
Ivailo Monev
40675886b2 plasma: ensure applets have preferred size in systemtray applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 07:42:49 +03:00
Ivailo Monev
ac329a2b24 plasma: check popup status on Plasma::Applet::activate() signal
not always emitted by Plasma::PopupAppletPrivate::internalTogglePopup() tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 07:00:17 +03:00
Ivailo Monev
12fd5b63e7 plasma: save applets state before deleting them in systemtray applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 20:52:43 +03:00
Ivailo Monev
d5f68610e6 plasma: fix systemtray deadlock
the applet has to be disconnected because when the applet is destroyed (by
the qDeleteAll() call) it triggers layout update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 20:36:05 +03:00
Ivailo Monev
e728419f56 plasma: update systemtray layout on ksycoca database change
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 20:25:27 +03:00
Ivailo Monev
44fb15030c plasma: include now required header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 20:24:45 +03:00
Ivailo Monev
20daf2594c plasma: check popup status of applets in systemtray applet
this is special case for (notably) passive popups (such as the
notifications applet which has not only automatic popup but also sticks
until deactivated), to do that optimally a signal from
Plasma::PopupApplet::popupEvent() may be emitted in the future so that the
popup status is not checked on timer.

on a side note the old systemtray applet did not handle that case properly
and the notifications applet was not hidden sometimes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 14:44:48 +03:00
Ivailo Monev
e739972e60 kwin: remove unused headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 13:27:34 +03:00
Ivailo Monev
83537ded01 kwin: adjust expected data in tests
for reference:
2546775b58

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 13:16:22 +03:00
Ivailo Monev
4b3d2080e9 kwin: KWin::PaintData optimization
QGraphicsScale and QGraphicsRotation are for use with QGraphicsItem, have
signals and more setters and getters than KWin::PaintData needs making its
use in KWin::PaintData sub-optimal

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 13:14:20 +03:00
Ivailo Monev
e51cf82b56 plasma: create systemtray applet arrow icon on layout update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:48:02 +03:00
Ivailo Monev
1cad595824 generic: drop scripting support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:14:30 +03:00