[Libreoffice-bugs] [Bug 129451] New: Is documentation for hide section with condition correct?

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 17 14:57:24 UTC 2019


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

            Bug ID: 129451
           Summary: Is documentation for hide section with condition
                    correct?
           Product: LibreOffice
           Version: 6.3.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sdc.blanco at youmail.dk

According to: 

https://help.libreoffice.org/6.4/en-US/text/swriter/guide/hidden_text.html?&DbPAR=WRITER&System=WIN

In the Hide area, select Hide, and then enter an expression in the Condition
box. For example, using the variable you previously defined, enter Hide==1.

Test 1:

1.  Create a variable Hide (Insert > Fields > More Fields, Variables tab, Type
"Set variable", Name "Hide", "Value" 0,  Insert)

2.  Create a section, Check Hide, put "Hide==1" in "With Condition"

Result:  Section is not hidden.   (Is it a bug or a documentation problem?)

Test 2:

3. Change value of Hide variable to 1

Result:  Section is Hidden


Test 3:

4.  Edit Section;  Change "With Condition"  to  "Hide==0"  (where Hide variable
is still set to 1)

Result:  Section is shown.    (bug or documentation problem?)

Test 4:

5.  Set value of Hide variable to 0. (while leaving Hide==0 in the Section
"With Condition")

Result:  Section is hidden  (i.e, the With Condition does not seem to have an
effect)

Test 5:

6.  Set Variable to 0 and making Hide==1 in the "With Condition"

Result:   Section is not hidden.

Tests 4 and 5 do not seem consistent with the documentation at:

https://help.libreoffice.org/6.4/en-US/text/swriter/01/04020100.html?&DbPAR=WRITER&System=WIN

There may be more variations on this theme -- but perhaps these examples are
enough to illustrate the problems -- where it is unclear what is intended, what
is bug, and what is documentation problem.

-- 
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/20191217/57017b4f/attachment.htm>


More information about the Libreoffice-bugs mailing list