Bug 151694 - Sifr: The Mime Types for MS Office Files Are Missing or Too Generic
Summary: Sifr: The Mime Types for MS Office Files Are Missing or Too Generic
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0
Keywords:
Depends on:
Blocks: Icon-Theme-Sifr
  Show dependency treegraph
 
Reported: 2022-10-21 21:49 UTC by Rizal Muttaqin
Modified: 2023-04-11 02:32 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
MS Office Files' Mime Types with Sifr (35.52 KB, image/png)
2022-10-21 21:49 UTC, Rizal Muttaqin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rizal Muttaqin 2022-10-21 21:49:36 UTC
Created attachment 183198 [details]
MS Office Files' Mime Types with Sifr

Steps to reproduce:

1. Change icon theme to Sifr
2. Open or create some OOXML and MS Office Binary files
3. See the mime types in File > Recent Documents
Comment 1 Rizal Muttaqin 2022-10-21 23:12:40 UTC
It seems the generic ones can not be updated from icon theme
Comment 2 Rizal Muttaqin 2022-10-22 00:07:49 UTC
Another way to test
1. Change open dialog to LibreOffice: Tools > Options > PRODUCTNAME > General > Check "Use PRODUCTNAME dialog"
2. Try to open a file 


Here the patch result:

https://github.com/rizmut/libreoffice-style-sifr/pull/32
Comment 3 Commit Notification 2022-10-22 14:02:31 UTC
Rizal Muttaqin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/afca4871bf31b10d7528d4a365920abb4a2c071a

tdf#151694 Sifr: Update Mime Types

It will be available in 7.5.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.
Comment 4 Buovjaga 2023-02-22 12:05:40 UTC
Should the status be fixed?
Comment 5 Rizal Muttaqin 2023-02-23 00:02:15 UTC
(In reply to Buovjaga from comment #4)
> Should the status be fixed?

This bug need coding and not related to any icon theme
Comment 6 Heiko Tietze 2023-03-14 15:48:35 UTC
What are the file extensions of the files with missing icon?
Comment 7 Rizal Muttaqin 2023-03-14 15:51:38 UTC
(In reply to Heiko Tietze from comment #6)
> What are the file extensions of the files with missing icon?

Ah yes that's the real issue here. Somehow previous LibO version did not save the file with extension. Or may be the auto set extension was not checked. So this should be fixed now with my patch enough
Comment 8 Heiko Tietze 2023-03-14 15:57:29 UTC
Cannot find the term "Regular MS Binary Presentation" in the source code. And ultimately the icon is matched against the file extension. What is it?