spakin / SimpInkScr

Simple Inkscape Scripting
https://inkscape.org/~pakin/%E2%98%85simple-inkscape-scripting
GNU General Public License v3.0
320 stars 31 forks source link

Text position is lost randomly #74

Closed capvor closed 1 year ago

capvor commented 1 year ago

I have a script that draws some graphics and text, but the position of some text is randomly lost. High probability of recurrence.

here is my script: draw.zip

This is the normal case for drawing: image

This is the two problematic drawing: image

image

capvor commented 1 year ago

My Inkscape version is Inkscape 1.2.2 (732a01da63, 2022-12-09) Simple Inkscape Scripting version is v3.2.0

spakin commented 1 year ago

Thanks for the bug report and especially for providing a script that can be used for testing. The good news is that I can (occasionally) reproduce the problem. The bad news is that I'm baffled as to what can be causing the problem or how to fix it. It definitely appears that Inkscape, rather than Simple Inkscape Scripting, is the culprit, however.

spakin commented 1 year ago

The Inkscape team confirms that this is a bug in Inkscape! See Inkscape issue #4102, "Race condition in inkex.command.inkscape".

Once again, thanks for the bug report. I'm closing this issue as we now know the problem is not specific to Simple Inkscape Scripting.

capvor commented 1 year ago

I am very sorry, I have been busy recently and have not paid attention to GitHub. Thank you very much for your research on this issue.