Description: LibreOffice Start Center shows documents thumbnails with names and an overlay icon that identifies the module the document is opened with. However, when a Flat ODF file is saved, the overlay icon shown is not of the correct module, but the main/blank module's icon. Steps to Reproduce: 0. Running LibreOffice 6.4.0.3 on Windows 10. 1. Create a document and save it as ODF, such as a .ODT file. 2. Create another document and save it as Flat ODF, such as a .FODT file. 3. Close LibreOffice. 4. Reopen LibreOffice, but not any of its modules (as LibreOffice Writer), just the LibreOffice main executable. Actual Results: LibreOffice's Start Center shows the main/blank LibreOffice icon for each Flat ODF document (.FODT, .FODG, .FODS, .FODP) and the module's colored/filled icon for each non-flat (packaged/zipped) ODF document (.ODT, .ODG, .ODS, .ODP). Expected Results: LibreOffice's Start Center should show the module's colored/filled icon for any Flat ODF or non-flat (packaged/zipped) ODF document. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: I'll submit the Start Page screen with the wrong icon for a Flat ODT (.FODT) file and the correct icon for a non-flat ODT (.ODT) file. Also, this bug relates to the improvement made on Bug 125756, so maybe it started on 6.6.0.0.alpha0+. Finally, someone should verify if this bug happens on other platforms, as I tested it only on Windows 10.
Correction: Maybe it started on 6.4.0.0.alpha+0.
Created attachment 157960 [details] Flat ODT icon shown on Start Center (incorrect icon)
Created attachment 157961 [details] Non-flat ODT icon shown on Start Center (correct icon)
Valid -> NEW @Mike, Heiko * Bug 125756, and reopen for additional work-- https://bugs.documentfoundation.org/show_bug.cgi?id=125756#c11 and #c12?
Wouldn't reopen the other ticket. I just used an existing function to retrieve the icon and there must be some better.
fodt,fods,fopd,fodg should be known now.
Heiko Tietze committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f4b5b12fbe7eb0260119445ac39a28427fef3ee6 Resolves tdf#130742 - Flat ODF in start center It will be available in 7.0.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.
Heiko Tietze committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/ff703b87e1f9872aeff36a47ac813390befc5522 Resolves tdf#130742 - Flat ODF in start center It will be available in 6.4.2. 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.
It's ok now. Verified in Version: 7.0.2.0.0+ Build ID: b27137a7091104cce177791478e86d127680c9af CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
*** Bug 130313 has been marked as a duplicate of this bug. ***
Created attachment 185941 [details] FODT in Recent Documents list @Heiko: Unfortunately the icon for FODT in Recent Documents is still generic. Any code pointer? Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d887b6a6fa2a572f48498839c5a68791c3196634 CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb) Locale: id-ID (id_ID.UTF-8); UI: en-US Calc: threaded