Download it now!
Bug 98540 - Info.plist seems to be broken in OS X
Summary: Info.plist seems to be broken in OS X
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.0.5.2 release
Hardware: All Mac OS X (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 98233 106050 (view as bug list)
Depends on:
Blocks: MacOS-Wishlist
  Show dependency treegraph
 
Reported: 2016-03-09 07:39 UTC by bbdmn
Modified: 2020-05-10 11:31 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
blan icons (34.06 KB, image/png)
2017-02-16 22:28 UTC, Orion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bbdmn 2016-03-09 07:39:45 UTC
(At least) the odt file icon does not show (blank file icon in the finder and in the libreoffice window top frame) in 5.1.0 and 5.1.1.
I tried to replace with info.plist provided in those versions with the one from 5.0.5 and things went back to normal.
Comment 1 bbdmn 2016-04-09 16:29:15 UTC
*** Bug 98233 has been marked as a duplicate of this bug. ***
Comment 2 Alex Thurgood 2016-06-13 15:30:43 UTC
Works in 

Version: 5.3.0.0.alpha0+
Build ID: 4d49c9601c9b3e26a336e08e057d299895683480
Threads CPU : 2; Version de l'OS :Mac OS X 10.11.5; UI Render : par défaut; 
Locale : fr-FR (fr.UTF-8)

Also seems to display correctly in

Version: 5.1.3.2
Build ID: 644e4637d1d8544fd9f56425bd6cec110e49301b
CPU Threads: 2; OS Version: Mac OS X 10.11.5; UI Render: default; 
Locale: fr-FR (fr.UTF-8)
Comment 3 V Stuart Foote 2017-02-16 22:10:08 UTC
*** Bug 106050 has been marked as a duplicate of this bug. ***
Comment 4 Orion 2017-02-16 22:28:52 UTC
Created attachment 131287 [details]
blan icons
Comment 5 Orion 2017-02-16 22:29:32 UTC
I have this problem (LO 5.2.5.1 on OSX "Sierra").
Comment 6 bbdmn 2017-03-29 17:23:54 UTC
The issue is still there. (LO 5.2.6.2 on OSX Sierra)
Comment 7 Nien Chen 2017-05-30 12:21:45 UTC
Same here. (LO 5.3.3.2 on OSX Sierra)
Comment 8 Xisco Faulí 2018-01-17 17:23:02 UTC
(In reply to Nien Chen from comment #7)
> Same here. (LO 5.3.3.2 on OSX Sierra)

Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 9 Orion 2018-01-17 20:27:49 UTC
I can confirm. I just updated Libre to 5.4.4.2, and I'm on macOS "High Sierra" 10.13.2. Calc files show up in green upon viewing a directory for the first time, but Writer files are in white, and when I reload a directory, the Calc files are white again. Basically no change.
Comment 10 whocares 2018-06-25 10:59:15 UTC
This bug is not only for ODF documents, with which in my machine, LO 6.0.5 has no problrm an icon is set correctly (downloaded from LO website yesterday) in High Sierra, but also for MS Office documents, which should show (as a suggestion) OASIS icons.

The MS Icons not showing is talked in the bug 67874 which in my oppinion comes ti be closely related to this other one.
Comment 11 Orion 2018-06-25 19:17:49 UTC
Bug 106050 was labelled a duplicate of this bug (accurately!), but there was information in my bug report that might be pertinent, so I am pasting it here: 

Description:
For the last several versions of 5.X, after upgrading LO, the Finder icons for all ODF files have gone blank (picture attached). This is a common enough problem that there are several discussion boards in which it has been asked and answered: 

* http://www.mac-forums.com/os-x-apps-and-games/309103-documents-icons-blank-libre-office.html
* https://ask.libreoffice.org/en/question/86416/icons-missing-in-mac/
* https://ask.libreoffice.org/en/question/45093/what-happened-to-my-filetype-icons-in-osx/
(there are more)

In the past, I could clear the icon cache in OS X, but with "Sierra" (v10.12), that area of the computer is now locked, so the workaround is no longer functional. 

Steps to Reproduce:
1. Upgrade. 
2. Look in Finder. 

Actual Results:  
Finder Icons of ODF (and any other file set to load in LO) are blank (generic Mac icons: white with folded corner).

Expected Results:
ODF icons should appear with colour-coded icons: blue for Writer, green for Calc, etc. 

Reproducible: Always

User Profile Reset: No (it's not a problem within LO)

Additional Info:
Colour-coded icons are visible in (a) the "Icon" view in Finder (rather than "List"), and (b) when my laptop is plugged into a bigger screen (i.e., my home monitor instead of the monitor on the laptop). 


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 12 whocares 2018-06-25 19:56:29 UTC
It keeps to be true, though that there is not and presumably have never been an icon association for the very common NS Office icons, which in other OS do and in mac os x should.
Comment 13 QA Administrators 2019-06-26 02:46:12 UTC Comment hidden (obsolete)
Comment 14 eisa01 2019-08-10 21:09:17 UTC
This is still present, given that the Info.plist hasn't been touched
Comment 15 OogieM 2019-09-13 16:25:03 UTC
Still a problem in Version 6.2.6.2 only shows up in list or 3 pane view. Icon view is ok.
Comment 16 Nazrul deCastelnau 2020-04-20 09:04:25 UTC
Just upgraded to 6.3.5 from 6.0.7 .  Previously no problems with write, ODS, ODT or XLS files having icons in the Finder (Mac).  Now the XLS file type shows up as the blank icon.  cheers.  MacOS 10.11.3

This bug has been around in various forms for at least 4 years I don't see why this is a "new" bug.
Comment 17 eisa01 2020-05-10 10:47:24 UTC
Having looked at various bug reports on this, the latest comments seem to be about blank MS document icons which would be covered by bug 67874

How icons are rendered can also be impacted by icon preview being on (e.g., bug 86101)

So is this still really a distinct problem?

I had a look at the Info.plist in 5.1.0 and 5.0.5

5.0.5: Icons are declared on "Document types"
5.1.0: Icons are declared on "Exported Type UTIs"
7.0.0: Icons are still declared on "Exported Type UTIs"

MS Word also declares on "Exported Type UTIs" and "Document Types"
(.doc is on Document types, .docx is on both)

Pages also declare on both, but use UTTypeIconName for "Exported Type UTIs" (interestingly does not provide any icons for MS Word)
Comment 18 eisa01 2020-05-10 11:31:42 UTC
Reading this Stack overflow article [1], it seems like setting the icons on the Exported UTIs is best practice. And the current Info.plist does follow this structure as outlined by Apple [2]

So I'm going to close this. Please create a new bug if there's a specific issue with any icons

[1] https://stackoverflow.com/questions/21937978/what-are-utimportedtypedeclarations-and-utexportedtypedeclarations-used-for-on-i

[2] https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW8