https://bugs.freedesktop.org/show_bug.cgi?id=60355
GS <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME |--- Ever confirmed|0 |1 --- Comment #4 from GS <[email protected]> --- Hi, thanks for the investigation. I think it is not the whole story but a step in the right direction... Originally I started with all text being formatted as 'Default' style and then started to select 'Headline' and 'Text Body' in my first attempt to overcome the problem described above and gain more control of the formatting of the different sections. However, I just figured out that the reason seems to be releated to having checked 'Auto Update' in the styles window for the used styles. The help for "Auto Update" says: AutoUpdate Updates the style when you apply direct formatting to a paragraph using this style in your document. The formatting of all paragraphs using this style is automatically updated. I now have the understanding that this means if I select AutoUpdate and directly change the formatting of a paragraph or line with this style then this is automatically applied to all other paragraphs with this style. Here also selecting one single line is equivalant to selecting a whole paragraph. If there is an additional blank behind the last word of the single line and only the text without the last blank is selected then the style is not changed and the everything works as expected. It has to do with selecting a whole paragraph (not single parts of it) and 'AutoUpdate=On'. However, I still consider it as a bug or at least a not properly implemented feature as it does not change _all_ paragraphs of the same style type to the new updated format but only seems to pick some paragraphs at random. For example, if you select the line ERROR2::CHANGE-THIS-LINE-TO-BOLD-AND-WATCH-BODYTEXT-UNDER-TITLE2-CHANGE-TOO and then change the style 'text body' to 'Bold' only the text unter TITLE2 changes to bold. Everything else remains unchanged although the style "text body" is also used in these other sections. It is also strange that an "Undo" right after selecting the line and hitting 'Bold' does NOT undo the last step! However, the style 'text body is now changed from 'Regular' to 'Bold' which is obviously "working as designed". The style for all text is, however, correctly formatted after selecting all text and selecting 'Clear Direct Formatting' at the end. So when clearing all direct formatting and unchecking 'AutoUpdate' the problem is solved. I then can directly format each line to my needs. However, taking the document above, it shows that you can end up with a document which behaves strange, unpredictable and uncontrollable (i.e. only randomly picked paragraphs of the same style change) when using the "AutoUpdate" feature for this style and applying direct formatting to one paragraph of it. You cannot predict which paragraphs of the document with the same style do actually change their formatting when applying a direct format change of one line with "AutoUpdate=On". Furthermore the 'Undo' function does not undo this last step of action. At least I would say 'Undo' should work and something of the 'AutoUpdate' feature is slightly broken here. I would expect that (1) an 'Undo' should work also in this case and that (2) either all paragraphs of the same style do change the formatting (with AutoUpdate=On) when changing the format in one paragraph of this style or (3) there is a way to tell which paragraphs of the same style will remain different due to an earlier applied direct formatting and will not respond to the new change of the style with AutoUpdate=On. Please play around with the document and let me know what you think! Thank you! -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
