Ivailo Monev
26dac23f72
plasma: fix regression since a621e80eb6
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 14:26:08 +03:00
Ivailo Monev
e1535123af
plasma: move note where it belongs in mixer applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 13:33:11 +03:00
Ivailo Monev
a621e80eb6
plasma: use 0 to 100 range for the mixer applet sliders
...
loses some precision but otherwise it is as if wheel events do nothing to
sliders if the ALSA volume range is big because wheel events are on fixed
delta instead of factor of the slider min and max (those of Plasma::Slider
anyway)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 12:21:14 +03:00
Ivailo Monev
45fb5143bb
plasma: remove unused header inclusion
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 11:33:43 +03:00
Ivailo Monev
59a9976052
plasma: disable "under mouse" checks while updating launcher layouts
...
as optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 11:02:30 +03:00
Ivailo Monev
e9ae856f8c
plasma: remove text/richtext from notes X-Plasma-DropMimeTypes entry
...
now the applet shall be plain text only
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 12:16:27 +03:00
Ivailo Monev
551b8da0b6
plasma: change notes configuration interface tab text and icon to suitable for future expansion
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 11:52:32 +03:00
Ivailo Monev
4367d89dbb
plasma: implement configuration interface for notes applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 11:48:24 +03:00
Ivailo Monev
dc9daf611c
plasma: call setHasConfigurationInterface() from calendar applet constructor
...
it has configuration interface now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 10:13:53 +03:00
Ivailo Monev
5ea11fb8f0
generic: add feature information about xrdb, xauth, xsetroot, xmessage and xprop
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 08:31:26 +03:00
Ivailo Monev
bd4971e55b
generic: add feature information about xrandr
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 08:08:59 +03:00
Ivailo Monev
e1e5b9071e
kcontrol: initialize all RandROutput members
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 08:03:59 +03:00
Ivailo Monev
9695ccccab
plasma: disable focus and text interaction for some of the internal launcher widgets
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 07:40:23 +03:00
Ivailo Monev
57c6c2266c
plasma: block and unblock signals on first time in launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 06:09:03 +03:00
Ivailo Monev
5e7422c5c7
plasma: setup drag for recent entries in launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 05:59:08 +03:00
Ivailo Monev
36381cb9ec
plasma: remove redundant method in launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 05:52:57 +03:00
Ivailo Monev
388f6f6bfc
plasma: correct kFixedVolume() function argument types
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 19:51:25 +03:00
Ivailo Monev
bea052e609
plasma: rework launcher applet "under mouse" state check
...
to match that of Plasma::ScrollWidget (for better or worse) doing it ala
fixup by compressing the checks, during DnD the state is not checked tho
but there are no constant checks now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 19:34:13 +03:00
Ivailo Monev
2978f69078
plasma: elide the launcher widgets text and sub-text
...
requires the following commit from kdelibs:
32d4c73c53c16c80c9b5ec85261bea5837125723
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 18:28:33 +03:00
Ivailo Monev
c1c213a4a4
plasma: animate actions based on "under mouse" state in launcher applet too
...
now it looks like it should
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 17:48:50 +03:00
Ivailo Monev
630ed969da
plasma: check if visible widgets are under the mouse every 1 second
...
slightly better than Plasma::ToolButton when it comes to the widget being
in a scroll area/widget of some sort
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 17:16:59 +03:00
Ivailo Monev
0896ce8d91
plasma: rework launcher applet applications tab
...
requires the following commit from kdelibs:
e670fe2c330ec0f8ad3e0f445164343913c3409b
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 16:44:10 +03:00
Ivailo Monev
d024e73cbb
plasma: remove application launcher widgets from the correct layout in launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 15:05:01 +03:00
Ivailo Monev
401ed17151
plasma: setup tooltip for launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 08:51:24 +03:00
Ivailo Monev
4d15939f95
plasma: remove unused header inclusion
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 17:24:26 +03:00
Ivailo Monev
8c05205586
plasma: do not call snd_pcm_recover() on EAGAIN in mixer applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 16:50:24 +03:00
Ivailo Monev
3645e1c382
plasma: pause and unpause PCM draining in mixer applet
...
because the draining is on 50ms timer and if the visualizer is not visible
there is no point to drain the PCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 16:42:08 +03:00
Ivailo Monev
fa5715aba4
plasma: catch even child events to cancel auto-hide in notifications applet
...
continue from:
ff687e99e7
a bit expensive but gets the job done
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 15:22:32 +03:00
Ivailo Monev
ff687e99e7
plasma: cancel the automatic hide timer on mouse press in notifications applet
...
probably the most annoying thing about the old implementation of the
notifications applet was that it could just disappear after it has been
automatically shown and after being clicked on, that will not bother me
anymore
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-21 18:44:48 +03:00
Ivailo Monev
2a350ef8b8
plasma: tweak launcher applet actions margin
...
for reference:
b182c1e720
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-21 14:32:36 +03:00
Ivailo Monev
bc6419d0ad
ksysguard: use KDoubleNumInput for the lower and upper limit widgets
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-21 12:34:03 +03:00
Ivailo Monev
3cba95c89a
generic: adjust to KIntNumInput and KDoubleNumInput changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-21 09:00:16 +03:00
Ivailo Monev
b6624d8083
plasma: install event filter only for the icon widget in launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-20 08:13:42 +03:00
Ivailo Monev
2cf8a5b37a
plasma: catch visibility and position changes for hover animation in launcher applet
...
because the widgets are child of Plasma::ScrollWidget it is tricky to get
it done properly but Plasma::ToolButton also checks for visibility change
just for the "under mouse" state
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-20 08:03:47 +03:00
Ivailo Monev
e2b193e780
plasma: de-duplcate code in launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-20 07:17:47 +03:00
Ivailo Monev
b182c1e720
plasma: set a small content margin for the icons in launcher applet
...
now that a frame is painted on hover and focus there has to be a small
margin to account for that
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-20 03:32:38 +03:00
Ivailo Monev
b4967056ee
plasma: activate on launcher widget click and use hover indicatation for launcher applet widget
...
includes focus indication too but selected painting is not animated
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-20 02:13:02 +03:00
Ivailo Monev
39f82eb6e1
plasma: set the search widget of launcher applet focus policy to Qt::StrongFocus
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-20 00:55:18 +03:00
Ivailo Monev
1b74718163
plasma: disable focus and text interaction for user information widgets of launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-20 00:44:46 +03:00
Ivailo Monev
4428efe5f0
plasma: adjust to plasma library changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 23:34:33 +03:00
Ivailo Monev
6c4c7aa6b9
kwin: set init_demand_attention instead of calling KWin::Client::demandAttention()
...
on a side note the demanding attention state is no saved and restored
across sessions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 23:04:59 +03:00
Ivailo Monev
f9e8482619
plasma: preperation for showing runners syntaxes and example queries in launcher applet
...
once I wake up I will implement the rest
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 14:31:50 +03:00
Ivailo Monev
d86d3fb0b8
kwin: delay setting attention demand as much as possible
...
about as late as it can be. after being minimized, stamp is updated, rules
applied once (applyWindowRules()), twice (updateWindowRules(Rules::All))
and then again (via the demandAttention() call). it does make tasks
require attention now tho
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 14:00:40 +03:00
Ivailo Monev
70ab393c4a
kwin: remove unused atom
...
not sure what spec that atom is from anyway, not in the spec at:
https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 13:44:08 +03:00
Ivailo Monev
4dbd193381
kwin: check the rules for all demandAttention() calls in KWin::Client::manage()
...
verified the state is demanding attention when started via kstart program,
KTaskManager::demandsAttention() does not detect it as demanding attention
tho. on a side note there is a TODO for states in KWin::Client::manager()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 13:13:12 +03:00
Ivailo Monev
19df562aa2
kwin: delete the plugin config widget from kwindecoration KCM
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 13:05:06 +03:00
Ivailo Monev
de29fc81c5
plasma: disable searching while one is in progress
...
to prevent interrupting searching, clearing via the clear button will
simply put the search in the background tho but other actions will be
possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 12:08:46 +03:00
Ivailo Monev
0a1c3fcb47
plasma: delay sleep and shutdown in launcher applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 11:56:59 +03:00
Ivailo Monev
4f7a2c984f
plasma: delay calculator and dict applet widgets creation
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 11:38:13 +03:00
Ivailo Monev
653752bbe2
kwin: check rules for demanding attention in KWin::Client::manage()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 11:17:05 +03:00