Open GoogleCodeExporter opened 9 years ago
Uncaught IndexSizeError: Failed to execute 'replaceItem' on 'SVGPathSegList':
The index provided (1) is greater than the maximum bound (0) in path.js line 287
Original comment by jcrump...@gmail.com
on 7 Aug 2014 at 2:57
Got this error too on the lastest trunk 2.7.1 The whole app is not usable
because of this huge bug.
Original comment by devo...@gmail.com
on 11 Dec 2014 at 11:00
Any chance anyone has any ideas on how to fix this? Would be more than happy to
just make the change locally if it meant getting path editing working again.
Thanks!
Original comment by adamhow...@gmail.com
on 15 Dec 2014 at 7:11
I switch back to 2.4 version for now until someone fix this bug
Original comment by devo...@gmail.com
on 15 Dec 2014 at 9:27
After several hours, I believe I found the root of this bug. It seems to be the
resetD function in svgcanvas.
resetD(path) takes out all the spaces in the path definition(i.e. "M100,100
L50,50 L75,75 z" becomes "M100,100L50,50L75,75z" and this erases the path from
the canvas because the browser doesn't know what to do with it.
And so far, best I can tell, deleting resetD(p) and removing all of its
references has no negative effect on functionality.
So if you were banging your head against the wall like I was trying to fix this
issue, give this a try.
Original comment by adamhow...@gmail.com
on 17 Dec 2014 at 9:10
Works for me. Great job.
Original comment by devo...@gmail.com
on 18 Dec 2014 at 12:43
Dont work for me :/
Original comment by Johan.Le...@gmail.com
on 24 Feb 2015 at 8:17
So... I found a solution, that is way less intrusive and points a bit more
toward the problems origin.
Force svg-editor to believe it faces no other browser than an Internet Explorer
by tweaking the browser checks. Return false for chrome and webkit and return
true for IE... Voilá, no more disappearing lines and errors.
Original comment by Lars.Echterhoff
on 23 Jun 2015 at 2:04
Original issue reported on code.google.com by
jcrump...@gmail.com
on 7 Aug 2014 at 2:50