Bug 306607

Summary: Bug in Libreoffice TaskIcons
Product: [Plasma] plasma4 Reporter: Dominique Schaefer <dschaefer79>
Component: widget-icontasksAssignee: Craig Drummond <craig>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.9.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: libreoffice-tasklist
libreoffice-tasklist2

Description Dominique Schaefer 2012-09-11 12:52:15 UTC
The widget icontask doesn't pin all libreoffice applications. It Pins only one. When Libreoffice calc, writer, impress is open, only one is pin when the other are closed
Watch printscreen

Reproducible: Always
Comment 1 Dominique Schaefer 2012-09-11 12:52:44 UTC
Created attachment 73816 [details]
libreoffice-tasklist
Comment 2 Dominique Schaefer 2012-09-11 14:02:12 UTC
Created attachment 73822 [details]
libreoffice-tasklist2
Comment 3 Craig Drummond 2012-09-11 17:01:31 UTC
You might need to add some "launcher matching rules" per libreoffice application. There should be some existnig ones, but it could be that these are out of date.

I've just chcked with KDE 4.9 on Kubuntu 12.04, with LibreOffice 3.5.4.2 - and I can pin write and calc separately.
Comment 4 Dominique Schaefer 2012-09-11 18:25:35 UTC
I have LibreOffice 3.6. This is perhaps the problem ?
Comment 5 Craig Drummond 2012-09-11 18:28:45 UTC
Could be. But, as I said, you need to create new "launcher matching rules". In the icon-tasks config dialog, go to the  "launcher matching rules" page. Select "Add", then "Detect window properties". Move the + cursor onto the libre office window, and click. Then press the 'folder' button to select the relevant launcher (this brings up the app selector, use this to find writer, etc)
Comment 6 Dominique Schaefer 2012-09-12 10:15:21 UTC
I resolved the problem the shortcut in the start was 
libreoffice --writer %u
libreoffice --calc %u
libreoffice --base %u
libreoffice --impress %u

I made a symbolic link from 
ln -s /usr/lib/program/swriter /usr/bin
ln -s /usr/lib/program/scalc /usr/bin
ln -s /usr/lib/program/sbase /usr/bin
ln -s /usr/lib/program/simpress /usr/bin

I change it to
swriter %u
scalc %u
sbase %u
simpress %u

And it's working.

Resolved