[Libreoffice-bugs] [Bug 129331] New: cannot hide a section by selecting text and using "Insert > Section" if the text has no CR after the selection

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 11 16:44:55 UTC 2019


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

            Bug ID: 129331
           Summary: cannot hide a section by selecting text and using
                    "Insert > Section" if the text has no CR after the
                    selection
           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

Procedure to produce bug

1.  Open new Writer document
2.  Put 1 or more lines of text.  (but do not include a CR after the last line)
3.  Select all the text (where there is no CR before or after the selection)
and Insert > Section
4.  Check 'Hide' and click OK  (or click OK without hide, then right-click,
Edit Section and check Hide)

Actual result:  The section is not hidden.

Expected result:  The section should be hidden.

Additional information.

1.  Only this particular procedure seems to produce the problem.

2.  If a section is inserted (in a new document) and then text is added to the
section, then it can be hidden  (presumably because it is adding a CR after the
section).  

3.  If there are multiple lines of text, and only some of them are selected for
Insert > Section, then it can be hidden (presumably because there is a line
after the section).

4.  In short, it seems to be a highly specialized situation where the text is
present first (without CR before or after the text), and then the entire text
is selected, and section inserted, then it cannot be hidden.

5.  Not exactly a big problem, and not likely for most users to encounter the
situation, but there you have it.

Tested with: LO 6.3.3.2 and 6.4.0.0.beta1

-- 
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/20191211/b4fa2205/attachment.htm>


More information about the Libreoffice-bugs mailing list