Bug 149597 - ENHANCEMENT: Multi-color line attribute (dashed lines with alternate background color
Summary: ENHANCEMENT: Multi-color line attribute (dashed lines with alternate backgrou...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Shapes-Line
  Show dependency treegraph
 
Reported: 2022-06-17 16:23 UTC by mikehughesdesigns
Modified: 2022-06-20 14:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The process of dual-colored lines now... (31.15 KB, image/jpeg)
2022-06-17 16:23 UTC, mikehughesdesigns
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mikehughesdesigns 2022-06-17 16:23:46 UTC
Created attachment 180814 [details]
The process of dual-colored lines now...

An enhancement to line attribute- line types of dash / dot-dash where the "unfilled" or background color of the line is given a secondary color.

In electrical work (especially automotive) wires with a main color and a stripe are drawn in schematics with 2-color lines. These show up as dashed lines of 2 colors.
Comment 1 Rafael Lima 2022-06-18 13:19:21 UTC
When I have to do this, I simply create a copy of the dashed line, change its style to solid and change the color. Then I align them to be perfectly on top of each other. This is a bit cumbersome, I know.

To implement what you're proposing we would have to:
1) Add an option for background line color (which does not exist ATM)
2) Change the dashed line drawing method

I could not find an equivalent feature in other office suites.

Let's hear from the UX team about this idea.
Comment 2 Heiko Tietze 2022-06-20 14:21:46 UTC
With the line style you define the on/off pattern different from solid. Could be dash-dash but also dash-dot-dash. This makes it more clear that no fine-grained line definition is possible, such as style of dashes, style of undashes, of dots of long dash... As Rafael commented: draw a solid line in the background or use a copy shifted by the dash width.