Something changed between LO 4.0 and LO 4.1 that affect the icon showed in the Unity Launcher in Ubuntu 13.04. With LO 4.0.5 (generic Linux build) when I open a text document, the Unity Launcher shows the Writer icon (blue icon), if it is a spreadsheet it shows the Calc icon (green icon), etc. When I open the same files with LO 4.1.2.1 or LO 4.1.3.0.0+ the Unity Launcher shows always the StartCenter icon (gray icon). The problem concerns ODF files only, OOXML files are not affected. The problem occurs whatever is the way that I use to open the file: double-click in the file manager, menu File > Open or Ctrl+O in LO Best regards. JBF
More info: I use parallel installations of LO 4.0.5 and LO 4.1.x with 2 different user profiles.
If I remove LO 4.0.5 to keep only LO 4.1.x, I get the right icon only if I launch an LO application from the dashboard but never when I double-click on a file in the files manager. Added keyword regression because it works fine for LO 4.0.5. Best regards. JBF
I see this issue in 4.1.1.2, so I am changing the version.
*** Bug 69665 has been marked as a duplicate of this bug. ***
Thank you. Set to NEW as there is at least one duplicate. Best regards. JBF
I am not sure whether this is a LibreOffice bug or a Ubuntu Unity bug, * It shows the wrong icon, while in my Lxpanel it shows the right one. (Unity and Lxpanel exist at the same time. * It's OK in LibreOffice 4.0.* * When startup (rather than open a existing ODF document) it shows the right icon.
@ Jean-Baptiste Faure: Today I upgraded my Ubuntu to 13.10, and installed LibreOffice 4.1.3 RC2, and the above metioned behaviour do not exist any more. So, maybe this bug should be closed as WORKFORME?
Thank you for this information. Under Ubuntu 13.04 I still have the bug with LO 4.1.3.2. I will upgrade my distribution next WE and try again. If that solves the problem, that will show that the problem is in Unity version Ubuntu 13.04, not in LibreOffice and I will close this bug report as NotOurBug. Best regards. JBF
Looks like a side effect of http://cgit.freedesktop.org/libreoffice/core/commit/?id=ecde9ba00dcf8c1bf3413afd0281236e9429148f&h=libreoffice-4-1. Probably related: https://bugs.launchpad.net/bamf/+bug/1026426 https://bugs.launchpad.net/bamf/+bug/1238122
I tried to remove the the StartupWMClass line in the desktop files for LO 4.1. That does not fix the problem completely. In fact that restore the behavior of LO 4.0. Precisely: 1/ when you launch LO by double-clicking on a file, LO starts with the correct module and Unity shows the icon of this module in the Launcher. 2/ when you open a second file, Unity groups it with the first under the same icon in the Launcher, whatever its type is. For example if the first file is a text document opened by Writer and second file is a spreadsheet it takes the same Writer icon as the first file. The behavior is the same if you open the file by double-click or by the menu File > Open. 3/ a text document being opened in LO, if you launch LO-Calc from the Dash (key Super > type Calc in the search field, choose LO 4.1 Calc) you get an empty spreadsheet. Then you can open a file from File > Open. In that case you get yet the same behavior as 2/. If I understand correctly the first comment in https://bugs.launchpad.net/bamf/+bug/1238122, Ubuntu 13.10 does not fix this problem. Best regards. JBF
(In reply to comment #10) > If I understand correctly the first comment in > https://bugs.launchpad.net/bamf/+bug/1238122, Ubuntu 13.10 does not fix this > problem. It says that it *does* fix that bug.
I upgraded my distribution from Ubuntu 13.04 to 13.10 and now it works for me as expected. I did my tests with LO 4.1.4.0.0+ with the same patch as the one submitted for bug 70553. - each opened document has the icon of its type (text, spreadsheet, presentation, etc.) in the launcher; - if several documents of the same type are opened, they are grouped under the same icon in the launcher. Same behavior with the master. So, as it works as expected in Ubuntu 13.10 but not in Ubuntu 13.04 with the same binaries, I conclude that the bug is on the Unity side, not on LibreOffice side. Closing as NotOurBug Best regards. JBF