4xx / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

In Internet Explorer Line starts with an offset compared to Mouse Position #1110

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open SVG Edit with an SVG having an Image (jpg) as base, canvas will open as 
same size as image. 
2. Try drawing a line from the top left corner of the image to any point

What is the expected output? What do you see instead?
Expected Output: Line starting at the 0-point of the image
Actual output: The line starts at another point than where the mouse pointed.
The offset depends on how much the image had to be "shrunk" to fit into the 
editor window.

In what browser did you experience this problem? (ALL, Firefox, Opera, etc)
Behavior is exclusive to Internet Explorer (9 and 10)

In what version of SVG-edit does the problem occur? (Latest trunk, 2.5.1,
etc)
2.6 Version, just tested with Trunk still having the same effect

Please provide any additional information below.
Additional information: To have a "save" button we have the editor embedded in 
another jsp Page. For embedding we have used iframe, and for testing purposes 
changed to jquery as well, but it did not have any effect.

Original issue reported on code.google.com by saschakl...@gmx.de on 17 Jun 2013 at 3:09

GoogleCodeExporter commented 9 years ago
when I make the zoom to the fit to canvas then the operations (e.g line 
rectangle etc) starts from an offset as mentioned above.
svg-edit 2.6
Mozilla Firefox 21.0

Original comment by kmuhamma...@gmail.com on 22 Nov 2013 at 2:03