I want to apply the attributes from the style "Heading 1" to its parent style "Heading". I am subsequnetly planning to change the style "Heading 1". First I select a part of my document which is already formatted in the style "Heading 1". In the Styles and Formatting window I the select (one click) the Style "Heading" and then I click the top left button with the tool tip "New style from selection". In the drop down menu I select "Update style". The expected behaviour is that the style "Heading" should adopt the attributes of the selected text thereby becomming identical to the style "Heading 1". The actual behaviour is that nothing happens. The style "Heading" retains all its prior attributes.
Reproduced with LibO 4.2.1.1 on Win7. Not tied to the fact that Heading is the parent style of Heading 1; it occurs also when trying to update the Heading 2 style with Heading 1 definition. NEW
** 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 (4.4.2 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) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-05-02
Confirming the problem. Version: 4.4.3.2 Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16 Locale: en_US LibreOffice Writer has a serious problem with styles; there are a lot of bugs opened against them. I find them difficult to use and a waste of time because I always have to fight the software, trying to work around the bugs. I believe it needs an overhaul.
*** Bug 93248 has been marked as a duplicate of this bug. ***
Confirmed in version 4.4.4.3 on Windows 10.
*** Bug 101156 has been marked as a duplicate of this bug. ***
Can confirm Version: 5.1.4.2 Linux Mint 18
** 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 (5.4.1 or 5.3.6 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) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170929
I still reproduced the probem. However, isn't this behavior normal after all? Once you select the style you desire to change, the selection has been moved from the text to the select box. When one then selects 'Update style', there is no selection in the text, no source paragraph to update from. Thus, nothing happens.
Selecting text of a particular style, changing the formatting, then updating the style, works for me with LibreOffice Writer 5.4.1.2 But updating a style which is not currently applied to the selected text results in the (unchanged) style being applied to the selection. In my case the selection remains selected, using the per-style dropdown/actions menu from within the main toolbar style menu.
donotspam@fastmail.fm is correct, the problem exists if I try to update a style that is currently not applied to the text. Let me give you an example. Select a block of text that is "text body" and simply press to update heading 1 based on this text. You will see that instead oft the "Heading 1" style being updated to the formatting of the selected text, the selected text is now formatted based on the old "Heading 1" format. The expected behavior should be that Heading 1 would simply adopt the formatting of the text. It can be still reproduced in LO 5.4.1.2 in Manjaro KDE
** 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 with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. 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) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I am closing this bug as WFM. Possibly was a misunderstanding of how "Update Style" works and therefore NAB. "Update Style" is used in cases where you have directly modified a paragraph in your document, and now want to "update" (i.e., automatically copy the modifications into the current Paragraph Style). See: https://help.libreoffice.org/latest/en-US/text/swriter/guide/stylist_update.html It would not be possible to update "across" paragraph styles (see Comment 1 that set this as NEW) In relation to OP. In Styles window, select Heading 1, right-click, New (then you can make a NewHeading style and then modify Heading [1-n] to inherit from NewHeading.
This is still buggy (though improved) in 6.1.5.2 (Debian) I cannot replicate the procedure described in Comment 1 in 6.1.5.2 but the title of the bug report is not inaccurate. To reproduce problem: Type some text in LO Writer in default style. Select it and change the formatting. Open the style dropdown menu from the toolbar (which may need to be configured to appear) Click the down arrow next to Heading 1. A menu appears. Click "Update style to match selection". Font formatting is changed (which is an improvement since I commented previously) but Heading 1's existing spacing above and below the paragraph is applied, rather than being updated to zero to match the spacing of the selection. Thus, the style is not properly updated to match the selection.
(In reply to donotspam from comment #14) > Click the down arrow next to Heading 1. A menu appears. Click "Update > style to match selection". Try this: 1. Apply Heading 1 style to a paragraph. 2. Modify that paragraph as you want. 3. Use "Update style to match selection" on Heading 1 (as you described). When I do this, then Heading 1 is updated to the modifications that were made (including spacing) (using 6.3.5.2) This is the same procedure as the original report, which I understand you also confirm as WFM. I believe the command label has mislead you to think that you can use this command to take manual formatting on one style (e.g. "default style") to use that to update another style (e.g., "Heading 1") I do not think this was the intention of "update style to match selection" (note that it is now "Update to match selection" ). That issue is different from this bug report. I would recommend that you close this report again and file a new ticket to make an enhancement request for what you want: to update an existing style from the manual formatting from another style.
Either I did not test as thoroughly as I should have when I confirmed WFM and did not notice that spacing is not applied correctly, or maybe later versions introduced a regression in comparison to the version I was testing with at the time (I'm afraid I don't know which version that was.) > I believe the command label has mislead you to think that you can use this command to take manual formatting on one style (e.g. "default style") to use that to update another style (e.g., "Heading 1") The fact that "Update to match selection" exists in relation to *all* styles when text is selected, and the fact that it actually works to some extent, suggests that that is precisely its purpose. For that reason, I don't think an enhancement request is appropriate. The interface gives the impression that "Update to match selection" is a shortcut to "New style from selection" > "Update style" in the style manager. This also exists in relation to all styles when text is selected, but does nothing (as opposed to being partially effective) when updating a style not currently applied. If that is not the purpose, why is the option available (like "Update to match selection") for all styles when text is selected? If that is not the purpose, then the style manager does not contain the function which does appear to have that purpose in the style dropdown, which would be a significant omission.
I have just realised I responding with WFM in error. My WFM actually related to my observation that font formatting IS now applied to non-current styles when "updated to match" from the style dropdown. This is nothing to do with the actual bug report, but related to my original comment 10. *That* issue has been fixed. But the issue as originally reported here is still a bug.
https://help.libreoffice.org/latest/en-US/text/swriter/guide/stylist_update.html [accessed 3/3/20 02:58] does not suggest that only the style of the current selection can be updated via the style manager. It does however say "Only the manually formatted attributes of the text at the cursor position in the document will be added to the style that is selected in the Styles window. Any attributes that were applied as part of a style will not be added to the updated style." This explains why the spacing isn't being updated/transferred in, but the fact that "update to match selection" then does work as expected on non-currently selected styles suggests that the style manager function should too.