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

          Priority: medium
            Bug ID: 84148
          Assignee: [email protected]
           Summary: Editing conditional text field condition exposes
                    unrelated hidden section
          Severity: normal
    Classification: Unclassified
                OS: Mac OS X (All)
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.6.2 release
         Component: Writer
           Product: LibreOffice

Created attachment 106627
  --> https://bugs.freedesktop.org/attachment.cgi?id=106627&action=edit
File just before the issue

If I change the condition on a conditional text field, this causes a hidden
section to unhide.

Steps:

1. Create a new document

2. Insert variable varA with value "is" (without the quotes) 
-- a. Insert > Fields > Other > Variables > Set Variable
-- b. Name: varA 
-- c. Value: is
-- d. Click Insert

2. Press enter

3. Insert variable varB with value "is" (without the quotes)
-- same as step 1 with name varB

4. Press enter

5. Insert a conditional field based on varA
-- a. Insert > Fields > Other > Functions > Conditional Text
-- b. Condition: varA EQ "is" (with the quotes)
-- c. Then: Ais
-- d. Else: AisNot
-- e. Click OK

6. Press enter

7. Insert two section based on varB
-- a. Type "Hide this section if varB is" (without the quotes)
-- b. Press enter
-- c. Type "Hide this section if varB is not" (ditto)
-- d. Select the first of the two lines
-- e. Insert > Section
-- f. Check Hide
-- g. Condition: varB EQ "is"
-- h. Select the second of the two lines
-- i. Insert > Section
-- j. Check Hide
-- k. Condition: varB NEQ "is"

Attachment is at this point.

8. Double-click "Ais"

9. Change condition from EQ to NEQ

10. Click OK

Actual result:  Hidden section appears
Expected result:  No change to which section is hidden and which isn't

Actually 4.2.6.3 but that's not offered in the dropdown at time of filing.
Hardware is Intel Core 2 Duo

-- 
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