Commit graph

8 commits

Author SHA1 Message Date
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
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
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