Created attachment 101347 [details] ODT and content.xml before and after reopening it in Writer In a german environment i try to embed a specifically formatted Date with EN-US locale using a Field>Formula and a language-setting of EN-US. At first I seem to succeed (exact procedure see below) but when i save the document and open it again, the language-setting of my field has changed to 'automatic' and my special format is gone. When I close Writer, open the document again and save it again and compare the two 'content.xml' files, i notice that the first content.xml contains an automatic date-style for my format while in the second one it is gone. So it seems to me, that on opening the ODT, Writer 'optimizes' away my date-style.
Detail: You might need to use a different language where i have used 'English(USA)' if you are in an american english environment. 1) create a new Writer Document 2) write a little Text 3) select all by pressing ctrl-a 4) Under Format>Text choose Language English(USA) 5) Under Extras>Language>Whole Text choose English(USA) 6) Place cursor anywhere inside text 7) Insert>Field>other>variable>Formula 8) Value: 0 9) Format>other formats 10) Language: English(USA) 11) Category: Date 12) Format: December 31, 1999 13) Leave 'other formats' by pressing 'ok' 14) 'insert' formula into text and press 'close' 15) Save the document and close Writer 16) By unzipping the document verify that it contains the correct automatic date-style in content.xml ("N10076" in my case) 17) reopen the document in Writer 18) do a 'no change' to make it saveable again (insert a blank and delete it again) 19) Save the document and close Writer 20) By unzipping the document verify that it does not contains the correct automatic date-style anymore in content.xml. Instead there is a standard date-style without language and country ("N76" in my case) After step 17) one could edit the formula, go to 'other formats' and see that the language has changed to 'automatic' Please note that * a simple 'Date'-Field will not be sufficient for our usecase due to calculations * The document is edited, saved and reopend many times before finally evaluating all fields.
Although I don't know what you mean in step 4 (there is no "Format > Text" in my installation) I'm able to reproduce the behavior with 4.3.0.1. Build ID: 9ed0c4329cf13f882dab0ee8b9ecd7b05e4aafbb (Linux rpm x64) ==> changing to NEW
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later): https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-07-18
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
I checked this again with Version: 5.1.4.2 Build-ID: 1:5.1.4-0ubuntu1 and now the date-style is preserved. If somebody wants to reproduce, the language Settings for Text are now under Extras, so Step 4) would be Extras>Language>Selected Text : choose English (USA)