Bug 161967 - Charts with automatic locale are not all correctly updated on ODT load
Summary: Charts with automatic locale are not all correctly updated on ODT load
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart-Labels
  Show dependency treegraph
 
Reported: 2024-07-09 12:04 UTC by Mike Kaganski
Modified: 2024-07-31 09:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Many as-char Charts (216.00 KB, application/vnd.oasis.opendocument.text)
2024-07-09 12:04 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2024-07-09 12:04:30 UTC
Created attachment 195183 [details]
Many as-char Charts

The attached document has many charts anchored as character. All the charts (and the text document) are set to "default" language (meaning that they must follow the application settings).

Make your LibreOffice locale English (USA). Reload the program and open the attachment. All of the charts show decimal dot in the Y axis labels (like 0.02), as expected in en-US locale.

Now make the program locale e.g. German (Germany), i.e. using decimal comma. Reload the program and open the attachment.

The first page's charts will show decimal comma in Y axis labels, as expected. But all the other charts down the document will show decimal dot. Tools->Update->Update All will correctly update all the charts.

The problem is the inconsistent state of the document after the opening. Either the document should use the cached images for *all* the charts (and show the view as it was on the system where the document was authored), or it must update *all* the charts (at least when scrolling to them, or printing, or exporting - i.e., when they needs to be displayed). There should be no inconsistent default state like part are updated, part are not (of course, unless the user selectively updates some objects).
Comment 1 m_a_riosv 2024-07-09 13:51:18 UTC
Reproducible with
Version: 24.2.5.1 (X86_64) / LibreOffice Community
Build ID: 2ccb78ad6bdfe3f3356a7a7f294ec388775c5816
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

With Menu/Tools/Update/Update all, recover the comma in all charts as decimal separator.