svg2android icon indicating copy to clipboard operation
svg2android copied to clipboard

can't set bakeTransforms back to false on baketransforms errors

Open danetch opened this issue 9 years ago • 5 comments

Using Firefox 44. Steps to reproduce:

  1. add an SVG that generate a baketransforms error (attaching one) riddle.svg.zip
  2. check the baketransforms checkbox
  3. watch how you can never go back to unchecking that box.

(ps : none of my svgs could bake tranforms) (had to go to console and type localStorage.removeItem("bakeTransforms");)

danetch avatar Feb 18 '16 14:02 danetch

Yes, same here. Does this happen on latest versions?

yuraj11 avatar Feb 18 '16 14:02 yuraj11

Looks like bug in firefox but I am not sure,

DOMException [InvalidStateError: "An attempt was made to use an object that is not, or is no longer, usable" code: 11 nsresult: 0x8053000b location: /svg2android/js/flatten.js?v=1:116]

yuraj11 avatar Feb 18 '16 15:02 yuraj11

Tried it with Chrome 48 and it works fine. Firefox 44.0.2 is the exact version number.

danetch avatar Feb 18 '16 15:02 danetch

There is some serious problem in firefox's svg api implementation. Use google chrome for now.

yuraj11 avatar Feb 22 '16 17:02 yuraj11

Ok thanks for the advice, and taking the time to look into it. Cheers

Le lun. 22 févr. 2016 18:15, Juraj Novák [email protected] a écrit :

There is some serious problem in firefox's svg api implementation. Use google chrome for now.

— Reply to this email directly or view it on GitHub https://github.com/inloop/svg2android/issues/33#issuecomment-187274353.

danetch avatar Feb 22 '16 17:02 danetch