Bug 96356 - XLSX user defined number format roundtrip error
Summary: XLSX user defined number format roundtrip error
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
: 101738 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-09 12:36 UTC by Andras Timar
Modified: 2017-01-19 22:11 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
proba.xlsx (8.64 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2015-12-09 12:36 UTC, Andras Timar
Details
proba2.xlsx (6.55 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2015-12-09 12:37 UTC, Andras Timar
Details
test file - start (9.51 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2017-01-19 22:08 UTC, lagarder
Details
Result (8.58 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2017-01-19 22:10 UTC, lagarder
Details
Progress (247.20 KB, image/jpeg)
2017-01-19 22:11 UTC, lagarder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Timar 2015-12-09 12:36:57 UTC
Created attachment 121169 [details]
proba.xlsx

1. Open the attached proba.xlsx
2. It has 19 000 Ft in cell C4.
3. Save as XLSX (proba2.xlsx), reopen.
4. C4 has 19Ft in it, the underlying number is the same (19000).
Comment 1 Andras Timar 2015-12-09 12:37:18 UTC
Created attachment 121170 [details]
proba2.xlsx
Comment 2 m_a_riosv 2015-12-10 00:07:40 UTC
Hi @Andras,

with the first sample, I'm not able to reproduce the issue. The same format after save and reopen.

The second one has a different format.
proba:  #.##0" Ft"
proba2: #.##0."Ft"

The second format has a different meaning because the dot after the number places, it is used to divide the value per thousand, by million with two dots.

Seems strange this change of format. " Ft" -> ,"Ft"
Comment 3 m_a_riosv 2015-12-10 00:08:54 UTC
I forgot.
Win10x64
Version: 5.0.4.1 (x64) Build ID: 2def61bcbb29a7a8611b833682fe1291910b11ad
Comment 4 Andras Timar 2015-12-10 08:49:11 UTC
I used Linux, the original reporter (http://bug.openscope.org/browse/OOO-1056) used Windows 7. Maybe I have to try 5.0.4.1, and check if this bug was fixed there.
Comment 5 raal 2015-12-10 17:11:53 UTC
I can confirm with Version: 5.2.0.0.alpha0+
Build ID: de9d0e797903e7ecc19be2b05c7e89d5936ae02d
Threads 4; Ver: Linux 4.2; Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-12-03_04:13:00

proba format cell C4: # ##0 "Ft"  is the same after after  resave, but representation on screen is different - 19 000 Ft and 19Ft

Works correct in Version: 4.4.0.0.alpha0+
Build ID: c0a709e9912de8adb6777b40197accf865c4f046 -> regression
Comment 6 lagarder 2015-12-10 20:23:28 UTC
Thanks

I tested several versions
OS Windows 7 64bit

Works correct in Version: 4.0.0.3 x86
Works correct in Version: 4.0.6.2 x86
19 000Ft (before) -> 19 000Ft (after saving)

!!! The problem starts --- From Version: 4.1.0.1 x86
After saving - Different 
19 000Ft -> 19Ft
Version: 4.1.0.1 x86
Version: 4.2.0.1 x86
Version: 4.3.0.1 x86
Version: 4.3.7.2 x86
Version: 4.4.0.1 x86
Version: 4.4.0.3 x86
Version: 5.0.4.1 x64
Version: 5.0.3 x86
Comment 7 lagarder 2015-12-11 10:52:03 UTC
I forgot exactly.

Works correct in Version: 4.0.6.2
Build az.: 2e2573268451a50806fcd60ae2d9fe01dd0ce24) 

Repair expected?
Comment 8 Xisco Faulí 2016-09-12 12:38:12 UTC
Adding keyword 'bibisectRequest'.
Comment 9 Bartosz 2016-09-23 09:28:48 UTC
*** Bug 101738 has been marked as a duplicate of this bug. ***
Comment 10 Bartosz 2016-09-23 20:27:20 UTC
This issue was resolved with LibreOffice 5.1. Tested on Ubuntu 16.04
Comment 11 lagarder 2017-01-19 22:08:54 UTC
Created attachment 130564 [details]
test file - start
Comment 12 lagarder 2017-01-19 22:10:23 UTC
Created attachment 130565 [details]
Result
Comment 13 lagarder 2017-01-19 22:10:36 UTC
Open TEST.xlsx file -> Microsoft Excel.
B3 cell 34 000 Ft (Format - currency)
1. Open TEST.xlsx file -> LibreOffice Calc 5.2.4.2
2. Modify B3 cell 17000 (not modify format !!!!!)
3. SAVE
4. Open TEST.xlsx file -> Microsoft Excel.
RESULT 17 Ft 

Attachment -> progress(BUG.jpg)
Comment 14 lagarder 2017-01-19 22:11:02 UTC
Created attachment 130566 [details]
Progress