[Libreoffice-bugs] [Bug 143900] New: File selection control cannot be explicitly associated with a label element

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 16 14:03:45 UTC 2021


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

            Bug ID: 143900
           Summary: File selection control cannot be explicitly associated
                    with a label element
           Product: LibreOffice
           Version: 7.1.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: c_strobbe-fdo at yahoo.co.uk

After inserting a File Selection control into a Writer form, it is not possible
to explicitly associate the control with a previously created Label element.

Steps to Reproduce:
1. In a Writer document, enable Design Mode for forms and insert a Label
element; in the Label's properties, fill in the "Label" field, e.g. "Upload a
file that illustrates the issue in your bug report".
2. Insert a File Selection field.
3. Open the File Selection field's properties dialog to add a label.

Actual Results:
The dialog's "General" tab does not contain the field "Label Field" that allows
you to select a previously defined Label element. (And in the resulting XML
code, there is consequently no explicit association between label and form
field.)

Expected Results:
The dialog's "General" should contain the field "Label Field" that allows you
to select a previously defined Label element. This would be consistent with
other fields, such as the Image Control field (which is similar in the sense
that it also allows you to browse to a file) and other fields, such as a List
Box, a Text Box, a Check Box and a Date Field.

Note that everything is in place in the XML code to allow an explicit
association between label and form field: the <form:fixed-text> element (for
the label) has a form:label attribute, and the <form:file> element has both an
xml:id and a form:id attibute that can be referenced by a label. What is
missing is the form:for attribute on the <form:fixed-text> element, which would
point to the form field's ID to make the connection explicit.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.1.3.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 8; OS: Linux 5.5; UI render: default; VCL: kf5
Locale: en-GB (en_GB.utf8); UI: en-GB
Calc: threaded

-- 
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/20210816/97a5f8d3/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list