[Libreoffice-bugs] [Bug 136654] Next Style does not get triggered if there is Text after the cursor.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 11 12:26:30 UTC 2020


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

--- Comment #5 from Clarc <f.thaler at posteo.net> ---
(In reply to BogdanB from comment #4)
> Ok. I confirm this behaviour, but I don't consider this to be a bug.
> Imagine that you will need the Heading 1 to be 2 rows and you press enter to
> finish the first line earlier, so you have a H1 on 2 rows. In this case is
> usefull.
That is one way to get two lines of Heading, yes. But consider this:
Your H1 Style is set to add a Page Break after the H1. Now you perform the
steps-to-reproduce.
What happens? You actually don't get a 2-line-heading but instead get two
headings. There will also be a problem if you set your headings to get them
numbered. Then, you would get something like this:

1 THIS IS MY

2 HEADING

Normal text. Normal text. Normal text. Normal text.


The proper way to get a two-line-Heading is to
(1. Just wait until your H1 is long enough to become a two-liner by itself)
2. Use SHIFT + ENTER two insert a manual page break.



And since this...
> 1. Open a new LO document
> 2. Press CTRL + 1 to get a H1
> 3. Write a few nonsense letters.
> 4. Press enter
> 5. The following text is a Text Body. (as it should be.) Write a few
>    nonsense letters.
> 6. Place your cursor at the beginning of your Text-Body-Text.
> 7. Click DELETE/BACKSPACE to move your Text-Body-Text up and make it become
>    a H1 Text
> 8. Click ENTER. Now you have two H1s, even though H1 is set to use Text
>    Body as it's Next Style.
...is not the intended way of creating two-lined-headings, leaving this bug in
LO actually just takes away one very handy functionality: the ability to use
the Next-Style-option in those scenarios.


Do my thoughts on this make sense?

-- 
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/20200911/5759e9c5/attachment.htm>


More information about the Libreoffice-bugs mailing list