image-occlusion-enhanced icon indicating copy to clipboard operation
image-occlusion-enhanced copied to clipboard

Path tool no longer working

Open glutanimate opened this issue 6 years ago • 6 comments

Steps to reproduce:

  1. Select the path tool
  2. Try to draw a path by clicking multiple times

Expected behavior (present under Anki 2.0):

  • draws path between points

Observed behavior (present under Anki 2.1):

  • only draws first path
  • error console message: JS error on line 3421: Uncaught TypeError: Cannot read property 'parentNode' of null

Depending on how difficult this is to fix we might have to investigate dropping the path tool altogether for the time being (although this would be far from ideal since this is a tool that's used comparatively often).

glutanimate avatar Mar 08 '18 19:03 glutanimate

Seems like this is working fine in more recent versions of SVG-Edit. Though with SVG-Edit 3.0.0 on the roadmap it might be worth waiting a bit before updating the revision we ship with.

glutanimate avatar Jun 22 '18 13:06 glutanimate

Seems like this is working fine in more recent versions of SVG-Edit. Though with SVG-Edit 3.0.0 on the roadmap it might be worth waiting a bit before updating the revision we ship with.

glutanimate avatar Jun 22 '18 13:06 glutanimate

New version of svg-edit is here SVG Edit 5.0.0. Is it complicated to migrate ?

scaturigo avatar Sep 09 '19 16:09 scaturigo

Upgrading is not the issue in of itself. It's porting all customizations to SVG-Edit and its extensions over the years that will take a lot of effort. SVG-Edit has undergone major refactoring, so it's not as simple as applying a few quick patches, sadly.

glutanimate avatar Sep 12 '19 14:09 glutanimate

Hey I'm kinda new to the whole open source thing. I think this tool is really useful (path line). Was wondering if you'd have any pointers on where to start?

lthiet avatar Mar 05 '20 20:03 lthiet

Here are 2 workarounds for users:

  1. use a very thin rectangle instead
  2. or edit the underlying source image directly

galantra avatar Jan 25 '21 16:01 galantra