Created attachment 203568 [details] Simple example file with connectors from Draw The Text along Path command is somewhat difficult to discover (see 165017), in relation to connector objects. To improve its discoverability, it would be useful to add it to the context menu of connector objects. 1. Open attached file 2. Select a connector and right click it -> Text along Path is not available from context menu, only from the Format menu This would be useful when a user has some text written on the connector and wants to change its orientation/position (see also bug 162158) Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 2595f031fa93c1eb89fb4dce6f337de9be813e15 CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: x11 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded
Created attachment 203569 [details] The context menu of the connector object
(In reply to Gabor Kelemen (Collabora) from comment #0) > To improve its discoverability, it would be useful to add it to the context > menu of connector objects. This sounds like a good compromise rather than bug 165017.
For Draw and Impress it would be in connector.xml. I think, it would be good to add "text-along-path" (.uno:FontWork) there. I'm not sure about Calc and Writer. There the context menu is not special for connectors but it is the general shape context menu. There it might be confusing because text-on-path is not meaningful for each kind of shape. In Writer and Calc, I would leave it up to the user to customize the context menu by adding the command. I have removed the reference to "FontWork-WordArt" Meta bug, because it has nothing to do with WordArt. The naming "FontWork" inside code and API is for historical reasons. The "Text along Path" feature exists already in OOo1.1 and had used the term "Fontwork" in UI, API and code. When the feature "WordArt" (more general the custom shapes) where implemented in OOo1.2, it was a wrong decision to name this "Fontwork" in the UI instead of the term "WortArt" as it was in MS Office. Now we have for example the confusion that the "FontWordFoo"-properties in the API do not belong to "Fontwork"-shapes.
I have changed the subject to contain "connector". I'm against adding it to the context menu of lines, because the implementation is currently so, that the text on a line follows the rotation angle of the line and the text position relative to the line is determined in the "Text Attribute" dialog. So you normally would not use "text-along-path" for a line. That is different from a curve, and that has already "text-along-path" in context menu.
(In reply to Regina Henschel from comment #3) > For Draw and Impress it would be in connector.xml. I think, it would be good > to add "text-along-path" (.uno:FontWork) there. Customer only wanted it in Draw context, so this is enough. I did not think about Impress but since the two popups are very similar, I added it for consistency. https://gerrit.libreoffice.org/c/core/+/193123 > > I'm not sure about Calc and Writer. There the context menu is not special > for connectors but it is the general shape context menu. There it might be > confusing because text-on-path is not meaningful for each kind of shape. In > Writer and Calc, I would leave it up to the user to customize the context > menu by adding the command. This is fine.
Gabor Kelemen committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fdcc566a017e1b107723b8b40a18088e19a31f04 tdf#169097 Add "Text along Path" command It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Gabor Kelemen committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/3f0bd67c431f1d1aa6583c6ff6f4b15602aeace4 tdf#169097 Add "Text along Path" command It will be available in 25.8.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.