Bug 155721 - [FILEOPEN] ODS office:annotation color
Summary: [FILEOPEN] ODS office:annotation color
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 18:15 UTC by SheetJS
Modified: 2023-06-07 19:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
specimen (3.21 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-06-07 18:15 UTC, SheetJS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SheetJS 2023-06-07 18:15:00 UTC
Description:
When reading ODS files, a blue background is incorrectly applied to visible notes.  It is not applied to hidden notes.

Steps to Reproduce:
1. Open attachment
2. Right-click cell A3 > "Show Comment"

Actual Results:
Visible comment has blue fill, hidden comment has yellow fill when revealed

Expected Results:
Both comments should be the default yellow


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Neither annotation style specifies a fill color:

```xml
    <style:style style:family="graphic" style:name="a0">
      <style:graphic-properties draw:stroke="solid" svg:stroke-color="#000000" draw:auto-grow-width="false" draw:auto-grow-height="false"/>
    </style:style>
    <style:style style:family="graphic" style:name="a1">
      <style:graphic-properties draw:stroke="solid" svg:stroke-color="#000000" draw:auto-grow-width="false" draw:auto-grow-height="false"/>
    </style:style>
```
Comment 1 SheetJS 2023-06-07 18:15:22 UTC
Created attachment 187774 [details]
specimen
Comment 2 Maxim Monastirsky 2023-06-07 18:44:14 UTC
Should be fixed already by commit 0ee9501c0b7dc1a291715fff9c1934b1c08cb654. Please retest with a recent 7.6/master build.
Comment 3 SheetJS 2023-06-07 19:21:20 UTC
7.6.0 alpha1 uses the correct color