ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.77k stars 320 forks source link

`Update Heading Style` doesn’t apply to remaining headings of the same style #1146

Closed HectorB-2020 closed 1 month ago

HectorB-2020 commented 1 year ago

This issue is unique.

Operating System

Windows 10 / 8.1 / 7, Linux (DEB package)

Version information

7.2.1.36

Expected Behavior

Usually this works as expected in non-sophisticated documents with basic formatting. Let’s paste my dummy text to new document. Highlight the first and few other lines, make them Heading 2. This also works with other styles of headings. image The result is to look like this. image Now we change font of the first heading as an example ... image ... and update this style with the changes (font) what we've just applied. image The expected result is that the new font is immediately applied to all headings sharing the same style. OO-Style6

Actual Behavior

Under specific circumstances the sequence described above doesn't work. After different formatting has been applied to one of headings and the style has been updated, other remaining headings with the same style still preserve old formatting (font as in this example).

Checking each heading shows that they have style with the same expected name, Heading 2 like in this example.

However if I select one of those headings and click on Heading 2 in the style menu above, the correct desired style with new font is going to be immediately applied but only to the selected heading.

Reproduction Steps

No response

Additional information

Other issues with styles and headings, keep them here for records:

matveevms commented 9 months ago

Hello, @HectorB-2020 Sorry for the long response. As I understand it, at the moment the problem does not recur on version 7.5.1? Please confirm if this is the case?

HectorB-2020 commented 9 months ago

@matveevms and @DenisDeeSign, does the text above look like a reproducible set of steps? Because if the answer is "yes", I wonder why you are asking other people. I'm not trying not being rude, mind you. I'm merely curious why the question.

oMrSmith commented 8 months ago

In general updating styles does not seem to work properly. Here is another issue I just discovered:

https://github.com/ONLYOFFICE/DesktopEditors/assets/78870770/64818f38-df9d-4105-8370-3b49322b6da0

matveevms commented 1 month ago

The problems described above are not repeated on version 8.1.1.26. Please update your editor version.

Rita-Bubnova commented 1 month ago

I close this issue. Feel free to comment or reopen it if you got further questions.