Maren Hachmann said on Sun, 21 Nov 2021 17:51:38 +0100
Am 21.11.21 um 01:43 schrieb Steve Litt:
- Don't use Inkscape connectors for interaction lines
- They don't work right
- Use lines or Bezier curves instead
- Don't use multiline text: Use 1 text object per line instead
- Multiline text isn't part of SVG
- Multiline text often and unpredictably screws up in
Inkscape
- These last two tips appear to be outdated since Inkscape 1.0 and 1.1
respectively.
This is good information, Maren. I've been using 1.1 and still having these two problems intermittently (well, I thought it was intermittent but I just didn't know the symptom reproduction).
Given that neither multiline text nor connectors are part of the SVG spec, it's no surprise that these are Inkscape additions to SVG, and if a diagram is *ever* saved as Plain SVG, they lose their powers to correctly format. My experimentation tells me that once that happens, you can never get them back again, even if you re-convert to Inkscape SVG.
There are two ways to save as Plain SVG:
1) Accidentally
2) Purposely
It's pretty hard to accidentally save a document with Inkscape-specific features, because you get an "are you sure" screen. The only way to accidentally save as Plain SVG is to either be working too fast, or to not understand which specific features will become permanently corrupted by saving to plain SVG.
I purposely save to Plain SVG. I know you've worked very hard to make Inkscape SVG render exactly the same in all SVG viewers as it does in Inkscape, but you cannot possibly control all the crazy code some SVG viewers will use. Although I don't remember specifics, I seem to have memories of Inkscape SVG docs that rendered materially different in some viewers than they did in Inkscape.
For me, using one text object per line is a minor inconvenience/slowdown.
Using connectors is more interesting. If you like the choices connectors make, you could continue using them until the diagram is finished, then convert to Plain SVG and all would be well. This would require a default width and color on connectors, but so far I haven't found such a default.
SteveT
Steve Litt Spring 2021 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques