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

          Priority: medium
            Bug ID: 84144
          Assignee: [email protected]
           Summary: Sections hiding opposite to condition
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.6.2 release
         Component: Writer
           Product: LibreOffice

Created attachment 106623
  --> https://bugs.freedesktop.org/attachment.cgi?id=106623&action=edit
Demonstration of issue

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

Steps:
1. 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"

Actual result: "Hide this section if varB is" shows, "Hide this section if varB
is not" is hidden

Expected result: "Hide this section if varB is" is hidden, "Hide this section
if varB is not" shows

Attachment is at this point.

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

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