Bug 169097 - Add "Text along Path" command to connector objects context menu
Summary: Add "Text along Path" command to connector objects context menu
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:26.2.0 target:25.8.4
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-27 15:27 UTC by Gabor Kelemen (Collabora)
Modified: 2025-11-14 16:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Simple example file with connectors from Draw (9.59 KB, application/vnd.oasis.opendocument.graphics)
2025-10-27 15:27 UTC, Gabor Kelemen (Collabora)
Details
The context menu of the connector object (24.17 KB, image/png)
2025-10-27 15:28 UTC, Gabor Kelemen (Collabora)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (Collabora) 2025-10-27 15:27:41 UTC
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
Comment 1 Gabor Kelemen (Collabora) 2025-10-27 15:28:06 UTC
Created attachment 203569 [details]
The context menu of the connector object
Comment 2 Heiko Tietze 2025-10-28 10:15:12 UTC
(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.
Comment 3 Regina Henschel 2025-10-28 11:28:19 UTC
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.
Comment 4 Regina Henschel 2025-10-28 11:35:01 UTC
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.
Comment 5 Gabor Kelemen (Collabora) 2025-10-28 20:24:12 UTC
(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.
Comment 6 Commit Notification 2025-11-03 08:39:12 UTC
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.
Comment 7 Commit Notification 2025-11-04 17:12:21 UTC
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.