Created attachment 61653 [details]
Press enter at the end of a paragraph with a Custom Style. Instead of getting a new paragraph with the same style, I get a new paragraph with the same style, but the prior paragraph changes to "First Line Indent" for some styles, "Text Body Indent" for others. Pressing Ctrl-Z returns the prior paragraph to the correct (custom) style.
I have verified that the style specifies itself as the "Next Style" and is linked with "None". I have verified that "AutoUpdate" is OFF.
I tried building a new style from scratch and the error still occurs, even in a new, empty document. The problem does *NOT* occur when using built-in styles, but occcurs for *ALL* custom styles.
Version is 22.214.171.124 Build ID is a long ugly string in the "Help, About" ending in e241b80 which I would paste here if it were copyable!
Even worse here with Version 126.96.36.199.alpha0+ (Build ID: 784302d). Opening the attached document causes a crash:
warn:legacy.osl:2895:1:/home/cr/Software/LibO2/core/sw/source/core/layout/frmtool.cxx:2719: Descriptor without any format?!
warn:legacy.osl:2895:1:/home/cr/Software/LibO2/core/sw/source/core/layout/wsfrm.cxx:104: No frame format passed.
segmentation fault (core dumped)
I have had a look at the provided test document and apart from the fact that it is rather large, and thus not a simple test, the styles within appear to behave exactly as one might expect. Each recipe has four pieces of content with a related paragraph style (shown in round brackets) and a next paragraph style definition [shown in square brackets]:
1. heading (RecipeHead) [RecipeCmmnt]
2. leading comment (RecipeCmmnt) [RecipeIngred]
3. list of ingredients (RecipeIngred) [RecipeInst]
4. method / instructions (RecipeInst) [RecipeInst]
Testing the document (using TDF LO v188.8.131.52 and v184.108.40.206 under Ubuntu 10.04 x86_64 by pressing ENTER at paragraph end at random locations throughout its length) did not produce any observed behaviour being at odds with the style definitions in use. There are however instances where the styles are used out of order or a modified variant of one of these paragraph styles is employed e.g.,
p.53 "Julie's Rum Cake" RecipeInst style is used for sub-heading content above list of ingredients.
p.89 "Sour Cream Pound Cake" RecipeInst style is used for sub-heading content above list of ingredients.
p.92 "Sourdough Starter - Not from Scratch" RecipeCmmnt style is used for sub-heading content above instructions, some of which are formatted with an unordered list attribute.
There could well be other examples, but this is illustrative. It is to be expected that in these situations pressing ENTER will not result in the desired style (that is, contextually).
I suggest this bug can be closed as NOTABUG.
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present on a currently supported version of LibreOffice (220.127.116.11 or later): https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)
Thank you for your help!
-- The LibreOffice QA Team
This NEW Message was generated on: 2015-03-03
Not reproducible for me with LibreOffice 18.104.22.168.0+ built at home under Ubuntu 14.10 x86-64
Closing as WorksForMe.
Best regards. JBF