Bug 120648 - Character format not preserved in Writer table when saved. TABLE
Summary: Character format not preserved in Writer table when saved. TABLE
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Number-Format
  Show dependency treegraph
 
Reported: 2018-10-16 17:57 UTC by AndrewB
Modified: 2019-08-05 07:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Table in Writer (20.46 KB, application/vnd.oasis.opendocument.text)
2018-11-16 17:44 UTC, AndrewB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AndrewB 2018-10-16 17:57:45 UTC
Description:
Table in Writer has negative currency cell values formatted to 'Automatic' as red.
Cell formula = cell a * cell b
Scenario A: All positive > cell values black before and after Save == OK
Scenario B1: Negative values a=1, b=-1: target cell text coloured *and* automatic red.
Scenario B2 later *in same session*, set b=1. Now target cell text black and automatic == OK.
Scenario C1: do B1 again and Save.
Scenario C2: Open file & set b=1. Target cell format is now coloured red and *not* automatic. This isn't obvious when working and screws it for the recipient.

Steps to Reproduce:
as description

Actual Results:
calculated cell formatted to fixed red after Save

Expected Results:
calculated cell formatted to automatic black after Save


Reproducible: Always


User Profile Reset: No



Additional Info:
not messed-up on Save.
This has been consistent over several iterations of LO
Comment 1 Xisco Faulí 2018-11-16 12:06:14 UTC Comment hidden (obsolete)
Comment 2 AndrewB 2018-11-16 17:44:41 UTC
Created attachment 146695 [details]
Table in Writer

as requested
Comment 3 Timur 2019-02-04 17:09:06 UTC
Andrew, please write exact steps according to sample. Sample should be minimal test case and correspond fully to steps. Sorry for asking, but if not consistent, we spend too much time finding out what you report.
Comment 4 QA Administrators 2019-08-04 05:50:17 UTC Comment hidden (obsolete)
Comment 5 AndrewB 2019-08-04 13:13:56 UTC
Now working as expected thanks
Comment 6 Xisco Faulí 2019-08-05 07:42:52 UTC
(In reply to AndrewB from comment #5)
> Now working as expected thanks

Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.