Bug 36274 - No icons for MSO files
Summary: No icons for MSO files
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.4.0 Beta4
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Desktop-Integration
  Show dependency treegraph
 
Reported: 2011-04-15 12:43 UTC by Mihkel Tõnnov
Modified: 2020-04-27 20:55 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihkel Tõnnov 2011-04-15 12:43:19 UTC
The .desktop files for MS Office filetypes at /usr/share/mimelnk/application have "Icon=libreoffice-" which means an icon is not shown for these filetypes in file manager. This was so in 3.3.2 (and probably earlier) and also in 3.4 beta 1.

Affected files:
/usr/share/mimelnk/application/libreoffice-ms-excel-sheet-12.desktop
/usr/share/mimelnk/application/libreoffice-ms-excel-sheet-binary-12.desktop
/usr/share/mimelnk/application/libreoffice-ms-excel-sheet.desktop
/usr/share/mimelnk/application/libreoffice-ms-excel-template-12.desktop
/usr/share/mimelnk/application/libreoffice-ms-powerpoint-presentation-12.desktop
/usr/share/mimelnk/application/libreoffice-ms-powerpoint-presentation.desktop
/usr/share/mimelnk/application/libreoffice-ms-powerpoint-template-12.desktop
/usr/share/mimelnk/application/libreoffice-ms-word-document-12.desktop
/usr/share/mimelnk/application/libreoffice-ms-word-document2.desktop
/usr/share/mimelnk/application/libreoffice-ms-word-document.desktop
/usr/share/mimelnk/application/libreoffice-ms-word-template-12.desktop
/usr/share/mimelnk/application/libreoffice-openxmlformats-officedocument-presentationml-presentation.desktop
/usr/share/mimelnk/application/libreoffice-openxmlformats-officedocument-presentationml-template.desktop
/usr/share/mimelnk/application/libreoffice-openxmlformats-officedocument-spreadsheetml-sheet.desktop
/usr/share/mimelnk/application/libreoffice-openxmlformats-officedocument-spreadsheetml-template.desktop
/usr/share/mimelnk/application/libreoffice-openxmlformats-officedocument-wordprocessingml-document.desktop
/usr/share/mimelnk/application/libreoffice-openxmlformats-officedocument-wordprocessingml-template.desktop
Comment 1 Mihkel Tõnnov 2011-05-06 16:43:50 UTC
Still so in 3.4 beta 4.

Some of the files also have the "Comment" field only in English, resulting in unlocalized file types in file manager:
libreoffice-ms-excel-sheet.desktop
libreoffice-ms-powerpoint-presentation.desktop
libreoffice-ms-word-document2.desktop
libreoffice-ms-word-document.desktop
Comment 2 Noel Power 2011-05-09 03:14:52 UTC
and this is really a critical bug ?
Comment 3 Mihkel Tõnnov 2011-05-09 03:34:08 UTC
(In reply to comment #2)
> and this is really a critical bug ?

Well, this definitely contributes to a uglier visual experience -- whatever we may wish to think, there are still a lot of M$O files sent around, and since LibO has mime-types for them, I see no reason why it should assign them non-existing icons (i.e. "libreoffice-.png"), meaning that not even the default document/spreadsheet icons are not shown for them after installing LibO (at least on my system).
Comment 4 Andras Timar 2011-05-13 00:30:04 UTC
(In reply to comment #1)
> Some of the files also have the "Comment" field only in English, resulting in
> unlocalized file types in file manager:

I fixed this on master. 
http://cgit.freedesktop.org/libreoffice/libs-core/commit/?id=ff535f4e4462495a5623404fbc0f96eadec2dd82
Comment 5 Andras Timar 2011-05-13 00:34:00 UTC
Icons are simply not there. See for example
http://opengrok.libreoffice.org/xref/libs-core/sysui/desktop/mimetypes/ms-excel-sheet-12.desktop#5

It is the same in OOo, so I lower the importance of this bug. I don't think that MS Office documents should have the same icons as ODF documents. We need new icons for MS Office document types.
Comment 6 Björn Michaelsen 2011-12-23 12:06:00 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2014-10-24 03:18:22 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2015-12-20 16:17:26 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2017-01-03 19:49:46 UTC Comment hidden (obsolete)
Comment 10 Thomas Lendo 2017-06-04 21:22:47 UTC
No icons in the described desktop files.
Comments only in English.

5.5.0.0.alpha0+
Betriebssystem:Linux 4.8; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-05-31_06:36:03
Comment 11 QA Administrators 2018-10-18 02:48:59 UTC Comment hidden (obsolete)
Comment 12 Thomas Lendo 2019-01-05 18:21:51 UTC
Still repro.
Version: 6.3.0.0.alpha0+
Build-ID: be8897d9c63a77b223a9c0aed1d2eb689e0e0082
CPU-Threads: 4; BS: Linux 4.15; UI-Render: Standard; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-01-02_04:49:04
Comment 13 Mihkel Tõnnov 2020-01-06 10:12:22 UTC
Strangely enough, I can't reproduce this with 6.4 nor current master anymore (on KDE5 / Arch Linux; master branch package converted from the TDF-provided RPMs).
It appears that none of these .desktop files are even included in the package.

Thomas, do you still see this on your system?
Comment 14 Mihkel Tõnnov 2020-04-27 20:55:53 UTC
I can't reproduce this anymore, so let's close it.