Bug 122025 - Cell format change back cause sum function problem.
Summary: Cell format change back cause sum function problem.
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Function-Sum
  Show dependency treegraph
Reported: 2018-12-11 15:56 UTC by Daniel Szabo
Modified: 2019-10-26 02:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Bug presentation (146.49 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-12-11 15:57 UTC, Daniel Szabo
cell format after step 3 (73.03 KB, image/jpeg)
2018-12-11 18:39 UTC, Oliver Brinzing

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Szabo 2018-12-11 15:56:47 UTC
When I changed the cell format from text to number, sum function was not working on those cells (even they were numbers). It is because all numbers get a hidden ' character.

Steps to Reproduce:
1. Write numbers to A1:A5 (cell format is number) A6 Sum(A1:A5)
2. Change the cell format of A2:A5 to text. (Sum function is still works well.)
3. Change the text format to "@ XY" (Sum function is not working any more. Still ok.)
4. Change back the text format to "@". (Sum function should work, but it is not.)
5. Change the cell format back to number. (Sum function should work, but it is not.) The numbers get an ' sign into the first character. (It is hidden until you click in the cell, and watch the above line.) Sum function still not working.
6. I have to delete the added caracter from each cell.

Actual Results:
The problem is reproduced.

Expected Results:
Sum the numbers of the cells.

Reproducible: Always

User Profile Reset: No

OpenGL enabled: Yes

Additional Info:
Comment 1 Daniel Szabo 2018-12-11 15:57:54 UTC
Created attachment 147446 [details]
Bug presentation
Comment 2 Oliver Brinzing 2018-12-11 18:39:26 UTC
Created attachment 147449 [details]
cell format after step 3

i can not confirm the described behaviour:

changing the cell format from number to text will
only align the cell value's to left.
Comment 3 Oliver Brinzing 2018-12-11 18:42:20 UTC
(In reply to Daniel Szabo from comment #0)
> 3. Change the text format to "@ XY" (Sum function is not 
> working any more. Still ok.)

one has to reenter the values after changing cell format to text
to get the described behaviuor.
Comment 4 Xisco Faulí 2019-03-28 19:00:12 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 5 QA Administrators 2019-09-25 03:01:38 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-10-26 02:12:32 UTC
Dear Daniel Szabo,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team