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

            Bug ID: 157232
           Summary: Writer EDITING: type dot not permitted in field name
                    starting with numeric value
           Product: LibreOffice
           Version: 7.5.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to