IconTasks taskmanager changes

Craig Drummond craig.drummond at gmx.net
Wed Oct 26 19:57:32 UTC 2011


Attached is diff of IconTask's 0.8.2 taskmanager against the current 
taskmanager in master.

The main changes are...

abstractgroupingstrategy.cpp
a. When a group is created, it is placed at the same index as the first 
member. Likewise when a group is removed, the last remaining member (if 
any) is placed where the group was.

groupmanager.cpp
a. New config items;
-separateLaunchers - when set to false (as per IconTasks) launchers and 
apps can be mixed.
- groupAttention - when set to true (as per IconTasks) when a group 
member demands attention, the group is *not* split.
- launchersLocked - to prevent user accidentally moving launchers
b. launcherSort list added to store current list of launchers, so that 
the order may be preserved
c. When chaning desktops/activities, tasks are reloaded immediately, and 
not after a timer, to reduce flickering.

taskactions.cpp
a. ToolTIpMenu class - used for Recent Documents menu so that I can show 
the full path in a tooltip
b. NewInstanceAction - adss "Start New Instance" menu item
c. Added ability to add menu items to the top of the menu - which is 
where dock manager, unity, and recent document entries are placed
d. Added option to show only basic window actions in menu

task.cpp
a. Detect when a window changes its class - as happens with LibreOffice

taskgroup.cpp
a. Insert group at the same index where the launcher would be (if not 
"separateLaunchers")

taskitem.cpp
a. Add many more routines to determine the .desktop file for an application.

strategies...
a. If not "separateLaunchers", mix launchers and tasks.
b. Use the item's 'taskName' to sort, not class

...and that’s basically it.

Craig.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: taskmanager.diff.bz2
Type: application/octet-stream
Size: 16467 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111026/f55fd9c4/attachment-0001.obj>


More information about the Plasma-devel mailing list