Problem description: Files created in MS Office Suite don't show icons related with its contents or application to open them like in GNU/Linux or MS Windows. Instead, files on OSX maintain a blank icon as if there is not a program association related to the file. Steps to reproduce: 1. Download and copy LibreOffice app to the applications folder on MAC OSX. 2. Start LibreOffice and open any file. 3. Wait to get file association whit the LibreOffice application. Current behavior: When file association occurs, documents from MS Office would not show icons related to its contents nor the app wich opens them, instead, them will maintain the "unknown" file format icon. Expected behavior: As soon as file association with LibreOffice occurs, MS Office files should show and icon that identifies them as document, presentation or spreadsheet. For example a .DOC or .DOCX document should be showed with the oasis-text.icns icon. Operating System: Mac OS X Version: 4.1.0.4 release
Agreed and confirmed. Setting to NEW.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: *Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later) https://www.libreoffice.org/download/ *If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior *If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT *Update the version field *Reply via email (please reply directly on the bug tracker) *Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-04-18
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
Still present for me You have to check it in list view, otherwise quick look will show the contents of the file Testing is a bit finicky, I actually ended up with the default Word icon, but it was blank inbetween, and never the oasis-text icon as odt files have. Version: 5.4.0.3 Mac OS X 10.12.6
*** Bug 117169 has been marked as a duplicate of this bug. ***
Still present in LO 6.0.3.2 in MacOS 10.13.4. Here is the list of file types that should show an icon and do not. They show the generic blank icon of the unknown file types. LO has been fresh installed and icon cache deleted as well before. LO is the default application for all those file types. .xlt, .xls, .xlsm, .xlsx (both variants), .pps, .pot, .ppt, .ppsx (both variants), .potm (both variants), .pptx (both variants), .dot, .doc, .docx (both variants), .docm, .pptm. Suggested bug fix. I suggest those MS Office documents files to show oasis-text.icns, oasis-spreadsheet.icns, oasis-presentation.icns and MS document templates to show oasis-text-template.icns, oasis-spreadsheet-template.icns and oasis-presentation-template.icns. Operative System:MacOS 10.13.4 Version: 6.0.3.2
Could someone without MS Office check if this was still present in OpenOffice 3.3? https://downloadarchive.documentfoundation.org/libreoffice/old/3.3.0.4/mac/x86/LibO_3.3.0_MacOS_x86_install_en-US.dmg I had a look in the info.plist and icons are not declared for MS office file formats AFAICT Looking on the file on git I can't identify this ever being the case: https://cgit.freedesktop.org/libreoffice/core/log/sysui/desktop/macosx/Info.plist?id=6e78fd18c9ca2d70af93cad321f55f3d72172742 Although I'm not 100% sure that file is the same as the app bundle? Shouldn't actually be too hard to implement, although to me it's an open question whether CFBundleTypeIconFile or UTTypeIconFile should be used
(In reply to eisa01 from comment #7) > Could someone without MS Office check if this was still present in > OpenOffice 3.3? > https://downloadarchive.documentfoundation.org/libreoffice/old/3.3.0.4/mac/ > x86/LibO_3.3.0_MacOS_x86_install_en-US.dmg > > I had a look in the info.plist and icons are not declared for MS office file > formats AFAICT > > Looking on the file on git I can't identify this ever being the case: > https://cgit.freedesktop.org/libreoffice/core/log/sysui/desktop/macosx/Info. > plist?id=6e78fd18c9ca2d70af93cad321f55f3d72172742 > Although I'm not 100% sure that file is the same as the app bundle? > > Shouldn't actually be too hard to implement, although to me it's an open > question whether CFBundleTypeIconFile or UTTypeIconFile should be used Since there is no reference in the LO3.3 info.plist file to file type icon associated to oasis nor file- icons, I assume the bug was already present in that version. I can confirm, though, that in the latest available version (4.1.5) of Open Office for Mac this bug is present too. It may be reasonable to think (but I am not stating it though) that this bug was simply inherited from OO, and that no one has worked it around yet. I lack coding knowledge so i can not answer your question, but CFBundleTypeIconFile seems to be the most widespread way to assign file type icons in the info.plist files all over many apps for mac. That could be given a try.
I can not solve this issue. As far as my knowledge allows me, changing Info.plist to try to register those icons makes no change at all for none of the file types. I can confirm, though that LO3.3 DID have this bug. AOOo also has this bug, I mark it as Inherited from OOo. I update "Version" tag of this bug. Mac Os 10.13.5 LO 6.0.5
This bug seems to be closely related to this other one: bug 98540. They are not identical though, since this one is on MS files and the other on ODF but extensible to this in my oppinion since both involve info.plist.
Created attachment 143135 [details] MS Files showing blank generic icon
Dear Joshua, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
No commits AFAICT to the Info.plist, so this must still be present
Ok, so the issue is that LO does not declare icons on the "Imported Type UTIs" in the Info.plist (and neither on the "Document types") LO also only declares .docx as imported, .doc is only under Document type under "3rd party formats" That means that at minimum "3rd party formats" need to be restructured, as it mixes e.g., documents and spreadsheets. It would probably be better to add many of those to the "Imported Type UTIs" Reading this Stack overflow article [1], it seems like setting the icons on the Exported/imported UTIs is best practice. In principle this is something I should be able to fix, but getting up the build and gerrit environment seems like a momentous task... [1] https://stackoverflow.com/questions/21937978/what-are-utimportedtypedeclarations-and-utexportedtypedeclarations-used-for-on-i UTI documentation: https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_intro/understand_utis_intro.html#//apple_ref/doc/uid/TP40001319-CH201-SW1 https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW8 Document Types documentation: https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-101685-TPXREF107
Patch submitted for most of the files declared by "Imported Type UTIs": https://gerrit.libreoffice.org/c/core/+/94625 This would not add icons for .doc etc. which required a bit more restructuring
Eivind Samseth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4c38441c3ae5f13aa61bb429b82f080afd9ed205 tdf#67874 Add generic icons to most 3rd party formats It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Dear Joshua, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I see an .xls document with an icon that has a spreadsheet background and a bigger XLS lettering in front. Works for me; at least it is not the generic blank document I used to see before. Thanks! Version: 7.3.0.3 / LibreOffice Community Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3 CPU threads: 8; OS: Mac OS X 11.6.6; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded