Description: As of LibreOffice Writer version 7.5.6 I cannot declare a new user field with the name starting with a number and containing a dot, e.g. “111.”, “0.”, etc. If instead I try to declare a new variable with the name that starts with a character and contains a dot it works, e.g. “f.aaa”, “aa11.aa11”, etc. I would like to declare a user field variable with a name similar to "01.myvariable". Is there a reason why you can no longer use variable names that start with a number and contain a dot? Steps to Reproduce: 1. open Writer 2. open Fields dialog (ctrl+F2 or Insert → Field → More Fields) 3. in Type section select User Field 4. in Name try to insert a number followed by dot (type 0.) 5. when you type the dot, the Name is erased 6. in Name try to insert a char followed by dot (type a.) 7. the Name value is correct, “a.” Actual Results: When typing "1." the result is "1" When typing "a." the result is "a." Expected Results: When typing "1." the result is "1." Reproducible: Always User Profile Reset: No Additional Info: Version: 7.5.6.2 (X86_64) / LibreOffice Community Build ID: 50(Build:2) CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: es-MX (it_IT.UTF-8); UI: en-US Ubuntu package version: 4:7.5.6~rc2-0ubuntu0.22.04.1~lo1 Calc: threaded
Related question in ask site: https://ask.libreoffice.org/t/type-dot-in-field-name-with-numeric-value/95770 Not reproducible with: Version: 7.4.3.2 / LibreOffice Community Build ID: 40(Build:2) CPU threads: 1; OS: Linux 5.14; UI render: default; VCL: gtk3 Locale: es-AR (en_US.UTF-8); UI: en-US Calc: threaded I can set field names with `0.` or `a.`, but not with `0,` or `a,`, both if I set the locale to Spanish (Mexico) (dot as decimal separator) or to Spanish (Argentina) (comma as decimal separator).
(In reply to LeroyG from comment #1) > Related question in ask site: > https://ask.libreoffice.org/t/type-dot-in-field-name-with-numeric-value/95770 > > Not reproducible with: > Version: 7.4.3.2 / LibreOffice Community > Build ID: 40(Build:2) > CPU threads: 1; OS: Linux 5.14; UI render: default; VCL: gtk3 > Locale: es-AR (en_US.UTF-8); UI: en-US > Calc: threaded > > I can set field names with `0.` or `a.`, but not with `0,` or `a,`, both if > I set the locale to Spanish (Mexico) (dot as decimal separator) or to > Spanish (Argentina) (comma as decimal separator). I see Mike's comment in the thread: "The difference is the decimal separator. Likely your old locale used comma as decimal separator; and now you use dot. FTR: the regression happened between StarOffice 5.2 (2000), which allowed a digit followed by decimal separator; and StarOffice 7.0 (2003), which already exhibited today’s behavior." So let's set to NEW.
(Buovjaga, our edit clashed, but I'm still adding my findings.) I can't reproduce with: Version: 7.5.7.1 (X86_64) / LibreOffice Community Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded I can name a user variable "1.whatever" or "0.something" without issue. However, I can't use a comma in the same way, just like Leroy describes. Pressing comma deletes the whole name. Same if the name starts with a letter, except pressing comma does not remove the letters. Same thing in OOo 3.3, LO 7.4.7.2 and a recent master build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 2902ab24ecc5ffbf4907ea83b2028508b9de6364 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Decimal separator is the dot for that en-AU locale, but switching to fr-FR locale inside has same result, and switching to fr_FR system locale has same result too. In fact, even with a similar language/locale combination, I don't see it as you see it: Locale: es-MX (it_IT); UI: en-US No mention of restrictions in naming in the help page: https://help.libreoffice.org/latest/en-US/text/swriter/01/04090005.html Nicholas, can you please reset your user profile to see if it helps? Mike, copying you in as you seem to know a bit of history about it.
Hi Stephane, thank you so much for your help, I really appreciate it. I just updated the Writer version and reset the user profile but nothing has changed, I can't insert a "user field" variable with Name starting with a number followed by a dot. I'm using: Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 60(Build:1) CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: it-IT (it_IT.UTF-8); UI: en-US Ubuntu package version: 4:7.6.2~rc1-0ubuntu0.22.04.1~lo1 Calc: threaded
Dear Nicholas, 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 with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. 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) from https://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: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Hello, unfortunately, the issue is still present. When I try to add a user field and set the name field with a numeric value followed by a dot, the dot is not added. Can anyone help me? Thank you very much, Nicholas.
(In reply to Nicholas from comment #6) > Hello, > > unfortunately, the issue is still present. When I try to add a user field > and set the name field with a numeric value followed by a dot, the dot is > not added. > > Can anyone help me? > > Thank you very much, > > Nicholas. Version: 25.2.6.2 (X86_64) / LibreOffice Community Build ID: 520(Build:2) CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: it-IT (it_IT.UTF-8); UI: en-US Ubuntu package version: 4:25.2.6~rc2-0ubuntu0.22.04.1~lo1 Calc: threaded