Summary: | FORMATTING: Connector type is not saved | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Nicholas Borisov <nikolay.kaliostro> |
Component: | Draw | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | jan.public, rb.henschel |
Priority: | medium | ||
Version: | 5.2.0.4 release | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#element-draw_connector | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 99649, 100373, 148534 | ||
Attachments: | You can see the result of this at Figure - 1 and Untitled - 2 in '.rar' archive. |
Description
Nicholas Borisov
2016-08-05 16:11:59 UTC
I see the behavior. But the type of a connector is no graphic-property but a direct attribute of the connector. Therefore it cannot be saved in a style. So I'm not sure, whether this is a bug, that the style is not remembered, or a bug, that the connector type is included in the UI of the style. This affects Impress too - Version of LO is 5.4.0.3 (Linux) It seems that Connector is hard-coded to use the Arrow Style "Arrow" automatically when first put on the drawing/slide. Assuming this, I've managed to make a workaround: 1. Click on menu "Format > Object and Shape > Line" 2. Click on tab "Arrow Styles" 3. Just click on button "Save arrow styles", you will be asked for a location to save "standard.soe" XML configuration file. Default location is ~/.config/libreoffice/4/user/config. Save the file and remember the location. 4. Open the file with default plain text editor, or XML editor. There are a lot of <draw:marker ... /> nodes in it. 5. The trick is that Connector always uses the arrow defined by node with draw:name="Arrow". You can switch this name with any other node you want as default Connector Arrow Style. For example, I wanted the "Symmetric Arrow" to be used as default, so I switched entries: <draw:marker draw:name="Arrow" svg:viewBox="0 0 20 30" svg:d="M10 0l-10 30h20z"/> and <draw:marker draw:name="Symmetric_20_Arrow" draw:display-name="Symmetric Arrow" svg:viewBox="0 0 1131 902" svg:d="M564 0l-564 902h1131z"/> to: <draw:marker draw:name="Symmetric_20_Arrow" draw:display-name="Symmetric Arrow" svg:viewBox="0 0 20 30" svg:d="M10 0l-10 30h20z"/> and <draw:marker draw:name="Arrow" draw:display-name="Arrow" svg:viewBox="0 0 1131 902" svg:d="M564 0l-564 902h1131z"/> I'm including the complete modified "standard.soe" file in attachment. Now I have my Connectors draw out as desired. This is not a replacement for full implementation of Style Management with Connectors, but it will make waiting for it to happen easier. ** 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 Dear Nicholas Borisov, 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 https://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 This issue is still present in LibreOfficeDev 7.4.0.0. The connector type (standard, line, straight, curved) should be saved as any other property, not just a direct style to be redefined at each session. The issue Milan Oparnica is writing about is a separate bug (bug #65940: Arrow styles set to "none" are not saved). I edited the report title to make it more precise. With current ODF 1.3 we have this: The type of a connector is not a style but an attribute of the individual connector shape. Thus it is not possible to store it in a style. Implementing a style attribute for the connector type will require an addition to the ODF standard. |