Bug 142011 - Connector text disappears when "Adjust to contour" attribute is selected
Summary: Connector text disappears when "Adjust to contour" attribute is selected
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.1.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Textbox
  Show dependency treegraph
 
Reported: 2021-05-01 09:21 UTC by PeeWee
Modified: 2023-05-04 05:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PeeWee 2021-05-01 09:21:41 UTC
Description:
When changing text attributes to a connector, selecting the option "Adjust to contour" disables all other options for text attributes, which is normal behavior. Clicking OK to apply the text attribute closes the Text dialog and the text disappears from the connector.

Steps to Reproduce:
1. Draw a connector between two objects.
2. Select the connector so that the control points are visible.
3. Click on Insert Text Box to enter text mode.
4. Type the connector text.
5. Right-click on the text and select Text Attributes from the context menu to open the Text dialog.
6. Select "Adjust to contour" and all other options are disabled.
7. Click OK and the Text dialog closes. The text disappears.

Actual Results:
The text disappears from the connector.

Expected Results:
The text should follow the contour of the connector.


Reproducible: Always


User Profile Reset: No



Additional Info:
Asian and complex text layout are selected in Options > Language Settings > Languages.
This has also be tried with Asian and Complex text layout options deselected.
Comment 1 Regina Henschel 2021-05-02 18:16:11 UTC
I confirm your observation, same for straight lines.

"Adjust to contour" means, that the text inside a _closed_ polygon or legacy shape is broken into several lines, so that each line goes from one edge to the opposite edge. But neither connector nor straight lines are closed and they do not have an inner area, which could be filled with the text.

So for me the error is not, that the text disappears, but that the option "Adjust to contour" is provided for connectors and straight lines.

(In reply to PeeWee from comment #0) 
> Expected Results:
> The text should follow the contour of the connector.

I think, that the expectation is wrong. For to "follow the contour of the connector" the attribute "adjust to contour" is not suitable. You can use the "Fontwork" tool (.uno:FontWork) for that. It is currently not included in a toolbar or menu. You can customize a menu or toolbar to get it. It is command "Fontwork" in category "Format". It does not only allow "along the path", but you can in addition determine the distance to the line, the direction and the position of the text.
Comment 2 PeeWee 2021-05-03 11:20:30 UTC
After reading Comment 1, the option "Adjust to contour" should be made unavailable for Text Attributes for connector lines.
Suggest this option for Text Attributes is renamed to "Follow the contour" so that it follows the contour of a connector line or any other freeform line that can be drawn in LO Draw.
Comment 3 QA Administrators 2023-05-04 03:22:03 UTC
Dear PeeWee,

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://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug