Commit graph

10 commits

Author SHA1 Message Date
Ivailo Monev
942581ee78 plasma: call KTaskManager::activateRaiseOrIconify() as static method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-03 03:25:45 +03:00
Ivailo Monev
057b58b76d libs: rework KTaskManager to not cache information other than the window ID
otherwise the name and desktop number have to be refreshed each time a task
window changes and that information may or may not be used in, say, the
pager applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-02 22:15:46 +03:00
Ivailo Monev
8d96c97af6 plasma: drop windowlist applet
and showdesktop is next, the pager applet does not only virtual desktop
switching, tasks actions (e.g. iconify/minimize) but also has the only
feature showdesktop has (except it does it on middle-mouse button)

oh, yes - using virtual desktops for grouping tasks is a thing now
(somewhat similar to the old task manager library grouping feature)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-02 07:07:44 +03:00
Ivailo Monev
54bd23f900 libs: drop startup feature of KTaskManager
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-29 15:07:00 +03:00
Ivailo Monev
5c18c67125 generic: reimplement the tasks manager
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-28 20:32:43 +03:00
Ivailo Monev
9b5b7e0164 plasma: reimplement tasks applet
very dull right now but atleast text eliding is done correctly. lots of
plans for it, tasks grouping and sorting is unlikely to be a thing tho.
the people behind the old implementation missing a few basic things -
what things do I want the taskbar to show (e.g. icon and text, icon or text
only) and what happens when a task is interacted with (on
left/right/middle mouse button click - there can be option to move tasks
on middle click for example)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-28 02:21:48 +03:00
Ivailo Monev
91a4f9036a plasma: fix and pretty-fy the switchwindow containment actions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-27 23:25:08 +03:00
Ivailo Monev
4eb64ca003 plasma: use taskmanager library directly in switchwindow containment actions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-27 22:58:00 +03:00
Ivailo Monev
07b66f4edf plasma: adjust to Plasma::Service changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 07:02:43 +03:00
Ivailo Monev
efbde9e504 plasma: organize sub-directories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-24 22:48:47 +02:00
Renamed from plasma/generic/containmentactions/switchwindow/switch.cpp (Browse further)