[Libreoffice-bugs] [Bug 120112] New: Wrong values shown in Userfields after changing Locale setting

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 25 10:36:07 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=120112

            Bug ID: 120112
           Summary: Wrong values shown in Userfields after changing Locale
                    setting
           Product: LibreOffice
           Version: 6.0.6.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: florian-adamus at gmx.de

Description:
In a document with userfields for timestamp and float values changing the
locale setting from German(Germany) to English(USA), restarting Libre Office
and updating the fields by pressing F9 leads to wrong values for all
userfields.

Steps to Reproduce:
1. Set Libre Office locale settings to English(USA)
2. Restart Libre Office
3. Open the attached libre office document
4. Press F9 to update the fields

Actual Results:
The value of the timestamp field is wrong (year -3741) and the values of the
other userfields are multiplied by 1000000.

Expected Results:
The userfields should show the correct values.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
The user fields in the attached document were created after the Open Document
Format for Office Applications (OpenDocument) Version 1.2 by an external tool.

Userfield declaration:
<text:user-field-decl office:value-type="date"
office:date-value="2017-09-14T16:09:46"
text:name="WW.Timestamp.Protocol.Close"/>
<text:user-field-decl text:name="T__9.actual" office:value="27.048431"
office:value-type="float"/>

Userfield usage:
<text:user-field-get text:name="T__9.actual"
style:data-style-name="N107">27.0484</text:user-field-get>

When double clcking one of the user fields the value shown in the property
window is still correct, even after updating.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180925/d81376af/attachment-0001.html>


More information about the Libreoffice-bugs mailing list