Description: Some cell background colours are incorrect when opening an Excel 97-2003 .xls file. See attachment for affected file (sensitive text redacted). Steps to Reproduce: 1.Open attached .xls file 2.Observe cell background color for Cell A5 Actual Results: Cell background is #00FFFF Expected Results: Color background should be #00FF99, as in Microsoft Excel Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Other cells in the document have correct background colors, only the left-hand two columns are incorrect.
Created attachment 171748 [details] affected .xls document
Thank you for reporting the bug. I can confirm that the bug is present in 7.2.0.0.alpha0+
After some sleuthing, I found that this is because the affected .xls file stores the background colour for the cell in an XFExt BIFF record. This is defined in MS-XML 2.4.355 (https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-xls/8a198485-3609-4bcb-87e7-41894d48b76a). LibreOffice does not parse this, and therefore attempts to load the color from the default palette - giving #00FFFF instead of #00FF99 stored in the XFExt record.