Issue 60713 - connector lines should not strike out text
Summary: connector lines should not strike out text
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: formatting (show other issues)
Version: 680m150
Hardware: All All
: P3 Trivial with 10 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 78564 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-01-17 17:05 UTC by matthias.mueller-prove
Modified: 2020-01-16 11:17 UTC (History)
8 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: 4.1.3
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description matthias.mueller-prove 2006-01-17 17:05:41 UTC
Given two ellipses and a connector line in between.
The connector line contains some text.
-> The text is crossed by the connector line. It should be possible not to draw
the connector line where the text is located.
Comment 1 kpalagin 2008-01-26 09:20:55 UTC
*** Issue 78564 has been marked as a duplicate of this issue. ***
Comment 2 kpalagin 2008-01-26 09:26:40 UTC
Shall we assign this RFE to developer?
Comment 3 bettina.haberer 2008-06-20 10:18:10 UTC
Target reset and owner. 
Comment 4 pesala 2008-09-09 19:46:02 UTC
To work around this problem:

• Select the text
• Format, Character, Superscript
• Uncheck the Automatic option
• Raise the superscript by about 60%
Comment 5 Joe Smith 2009-11-28 15:49:16 UTC
Looks a lot like Issue 35747: Add option to prevent line from going through the
text in lines and connectors
Comment 6 tmlink99 2020-01-15 23:26:23 UTC
This _IS_ the same as issue 35747, which has had an "UNCONFIRMED" status for 10 years (wow!).

-------------------
PROBLEM
For clarity, the desired behavior is:
1. Draw a connector
2. Double-click it (or hit F2) to add text.  Click elsewhere to finish.
3. The area occupied by the text should opaquely obscure the line.

For reference, Visio has done this (by default) since the 1990s.  ( edit text > right-click > "Text Block..." > Text Background : Solid Color )

I see that in OO, a connector gets its own "invisible" object frame (per the Authors User Manual - Draw Guide, in the Wiki).  So, e.g., the text position is referenced to that object frame.

So I see the difficulty must be that any existing opacity one might apply (if one could) would apply to the whole connector object frame.  The text for the connector does not have its own frame to which to apply an opacity.

--------------------
INPUT FOR DEVELOPERS

It seems developers have 3 choices...

1. Add a choice in the Character dialog, probably under Font Effects, for a Font Background Color (Transparent/Opaque), with a color dropdown.
  -> Perhaps you could borrow the Highlighter functionality from OO Writer.  There, its UI visibility is two-fold:
     - a "Highlighting" button on the Formatting toolbar
     - a Background tab in the Character dialog with a color picker palette.
  -> Because the text block for the connector (like any drawing object apparently) doesn't have its own object frame, though, this might end up being equivalent to option 3.

2. Add opacity functionality to the Fontwork dialog (available as a Format-category command to add to, e.g., the Drawing toolbar).  It has functionality for rotating, slanting, contouring, and adding shadow (of any color) to the text.  Opacity could be treated like a non-displaced, non-slanted shadow.

3. Create a new object frame (as a text frame) and open it for editing automatically when the user initiates adding text to a connector.  As a separate object frame, it could be set to non-transparent and brought to front (by default).

---------------------
WORKAROUNDS FOR USERS

A. Workaround (effects readability but not text-area opacity):
1. Select connector; edit text (F2/double-click)
2. Right-click > "Text..."
3. Under "Spacing to borders", enter a negative Top or positive Bottom setting

This is more intuitive than the proposed workaround by pesala here in 2008, and is simpler, by simply moving the text away from the line rather than altering its format.  That workaround unnecessarily alters the size of the font and is less simple.

B. Another workaround (effects text-area opacity, with work):
(by acknak in the OO Forums in 2009 (https://forum.openoffice.org/en/forum/viewtopic.php?f=11&t=23525)
1. Select connector; edit text (F2/double-click)
2. Click on added text, drag away from connector--it's now a new Text object
3. Drag that text object back on top of connector
4. Set it to non-transparent.
5. [optionally, group with connector to keep them together]
Comment 7 tmlink99 2020-01-15 23:42:48 UTC
Oops... Issue still present in ver 4.1.3.
Comment 8 Peter 2020-01-16 10:42:37 UTC
Set latest confirmation according to comment.

I do expect that it is also true for 4.1.7. Is there a reason you do not update.

Are you willing to check 4.2.0?