Apache OpenOffice (AOO) Bugzilla – Issue 20632
"Edit Styles" for lines fails to update document correctly
Last modified: 2003-11-04 14:31:18 UTC
When I tried using "Edit Styles" for lines the document was not correctly updated to reflect the changes I had made. Specifically, there were problems with arrows matching line widths, and sometimes the line in the document I tried to change was not affected at all by the operation. Steps to reproduce: make a new blank presentation draw a line using the context menu, select "Edit Styles" make sure the box "synchronize ends" is checked change the arrow style increace the line width Click 'Okay' to commit the change Results: I have seen the width change but not the arrow size, I have seen no change at all. Draw several arrows and repeate the changes with "Edit Styles". You can try changing the color as well. The result I saw with changing the color is that all the lines had their color changed, regardless of whether they were selected or not, but other changes, such as width and arrow styles were not changed. Note that the toolbar will correctly change the attributes. I also noticed that if I changed the color attribute on the toolbar and then used "Edit Styles", only those arrows for which I had not set a color using the toolbar had their color changed, regardless of what was selected. Possible other problem: The dialog box brought up with the "Edit style" command is labeled "Graphics Styles: Default". This seems to have been intended as a way to set default styles for everything. If that is so, it should probably not change existing lines at all. It seems like it would be more consistant with user expectations to bring up the dialog box accesible from the menu under "Format -> Line" when a line is selected and the user picks "Edit style" from the context menu. This dialog box seems to work correctly, although I did not exhaustively test it.
You have two ways available of chnaging the attributes of lines: Soft-formatting and hard-formatting. Hard formatting is done via the toolbar of format/line, format area. It is done only for the current marked object. Soft formatting is done with the stylist (F11) and edit styles. You can edit and setup new styles that are used on objects. When you have several lines formatted with "Style one", change the linewidth of this style in the stylist and all affected lines will change automatically. When inserting a new object it is formatted as Default in the beginning. The can select another style for default by double clicking on another style in the stylist. Hopt this helps. Please have a look at the help files if not. Are the problems solved now or is something left? Thanks.
No further information received. Please feel free to reopen the issue if you have a detailed way of reproducing the issue. Thanks for your help.
closed.
Thanks for clarifying the way things should work! You are right, what I wanted was 'Line' item in the context menu. However, the bug is still as I reported. The changes made to the default style are not correctly reflected in the document. In particular, the arrows are sometimes out of sync in width with each other or the line width. And sometimes only the color is updated. Perhaps the item 'Edit Style' should simply be removed from the context menu, since it does not in fact have anything to do with the context (in this case a selected line). This is especially true if it edits a style other than that of the selected line, which seems to be the case.
Sorry, still cannot reproduce this. What I forgot the last time: hard formatting is stronger than soft formatting. That means: if you have a line that you have formatted with the object bar (hard) you cannot change attributes with "edit styles" from context menu (soft). Hard formatting is stronger than soft formatting. Your description sounds a bit like yopu want to change lines with "edit styles" that were formerly fomratted with the object bar. Is this possible? Thanks.
I truly just open a blank presentation, draw an arrow, do "edit style", change the ends to synchronized, the arrow type to "Rounded short arrow", and press "OK". That's all. I've never had it work right yet. Sometimes both arrow heads remain small, sometimes only one.
Yes. You draw a line with the toolbars line and arrow tool (8th from top). Depending which line or arrow you choose they have no hard formatting (simple line), one side hard formatted (arrow), both sides hard formatted (arrow with starting point). When now using the edit styles only the line end that is not formatted can get the new attributes. Even checking "syncronize ends" can only affect the not hard formatted ends. If there still seems an error left please give a detailed description what you do (like a cooking description). The last one was quite good. But which kind of arrows do you use? What do you mean with small? Did you change the size, too? Thanks again!
No answer received for the detailed question. If you have more information please feel free to reopen the issue. Thanks.
Closed.