https://bugs.freedesktop.org/show_bug.cgi?id=46997

             Bug #: 46997
           Summary: : Combo box hides the label and shows the value, and
                    fails if using a calculated field for label
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.0 Release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
 Status Whiteboard: BSA
          Severity: normal
          Priority: medium
         Component: Database
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 58054
  --> https://bugs.freedesktop.org/attachment.cgi?id=58054
Database example with 2 forms showing both bugs

Problem description: It's a combination of 2 related problems.

A. Selecting a field from a combo box changes to display the value column
instead of the human-readable label (the one that the user clicks).

B. Additionally, if the label is calculated (instead of just a plain field),
whatever you select the value will be always zero.

Steps to reproduce:
A.1. Open attached file
A.2. Open the form called "addresses-bad"
A.3. Add a new record picking something from the "zone" combo box.

B.1. Open attached file
B.2. Open the form called "addresses-worse"
B.3. Add a new record picking something from the "zone" combo box.


Current behavior:
A. After adding the record, the text "City X" changes to a number (its ID).
B. After adding the record, the text "City X" changes to 0.


Expected behavior:
A. The combo box field shows the label, not the value.
B. Like A but also the value should be correct.


Platform (if different from the browser): Tested under Linux and Windows
LibreOffice Base.

Browser: Mozilla/5.0 (Windows NT 5.2; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to