[LH2787] Scrivener loses track of what styles are applied to text after closing and re-opening the project

ph
philgore
Posts: 1
Joined: Fri Nov 24, 2017 6:16 pm
Platform: Windows

Sun Dec 03, 2017 2:39 am Post

Overview
Once you apply a few different styles to a few different sections of text, and then close and re-open the project, Scrivener no longer accurately remembers which styles were applied to which sections of text.
This means that if you later change a style definition, the text may not be updated to reflect the new style definition.


Steps to reproduce:
1. Create a new, blank project.
2. In the initial "Untitled Document" that is created, type "Heading 1" on the first line.
3. Highlight "Heading 1', and then select "Heading 1" in the styles dropdown list.
4. ("Heading 1" is formatted with bold text, and a point size of 18, as expected)
5. On the next line, type "Code Block".
6. Highlight the text "Code Block", and select "Code Block" from the styles dropdown list.
7 ("Code Block" is formatted with a font face of Consolas and a point size of 11, as expected)
8. On the next line, type "Heading 1" again.
9. Select "Heading 1" in the styles dropdown list.
10. ("Heading 1" is formatted with bold text and a point size of 18, as expected).
11. Now, arrow up and down, placing the cursor on each line of text. As yo do, the style with which that line was formatted is shown in the Styles dropdown (again, as expected).
12. Close the project, and re-open.
13. Arrow up and down, placing the cursor on each line of text. As you do, the style with which that line was formatted is no longer shown correctly in the styles dropdown. If you highlight the first line (which had the Heading 1 style applied), change the point size from 18 to 24, and then chose Format -> Style -> Redefine Style from Selection -> Redefine "Heading 1", the first line changes to a point size of 24, but the third line (which also had the "Heading 1" style applied) is NOT affected. . If step 13 is done BEFORE closing and re-opening the project, then everything works as expected, and the change to the "Heading 1" style immediately reformats both lines 1 and 3.

th
thePhilosoraptor
Posts: 59
Joined: Sat Feb 13, 2016 3:28 am
Platform: Windows

Sun Dec 10, 2017 1:30 am Post

Thanks! This has been filed.
Bryan Bender