kimoa / svg-edit

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

svgedit doesn't work well if embedded in iframe on chrome #824

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open http://svg-edit.googlecode.com/svn/trunk/editor/embedapi.html in chrome

What is the expected output? What do you see instead?
- there are scrollbars for the iframe
- only a small part of the white canvas is visible
- sometimes when you click on the canvas a menu for the left tools opens

In what browser did you experience this problem? (ALL, Firefox, Opera, etc)
I don't know about Opera or Safari but in Chrome it doesn't look work right. 
Firefox seems OK though.

In what version of SVG-edit does the problem occur? (Latest trunk, 2.5.1,
etc)
trunk

Please provide any additional information below.
The position of the mouse cursor in the screenshot is where I clicked to open 
the shape library menu

Original issue reported on code.google.com by dominik...@gmail.com on 21 Jun 2011 at 8:26

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I want to add that for some reason keys are bound to event only if the mode is 
changed:

1. Open the editor in an iframe, note that panning with space key or tool 
selecting with the shortcuts does not work
2. Click on a tool on the left panel
3. Now everything works as expected

Original comment by VSa...@gmail.com on 24 Jun 2011 at 3:03

GoogleCodeExporter commented 9 years ago
Are you using chrome beta or canary? I was too, then when I opened up svgedit 
in an iframe with chrome standard it worked fine.

Original comment by cl...@elojasystems.com on 3 Oct 2011 at 6:19

GoogleCodeExporter commented 9 years ago
currently chrome 15.0.874.21 beta

Original comment by dominik...@gmail.com on 4 Oct 2011 at 6:19

GoogleCodeExporter commented 9 years ago
Yeah, I am not sure why it doesn't work in Beta. I guess that could possibly be 
a heads up things are changing in chrome that need to be addressed in the next 
release. I'll keep looking into it.

Original comment by cl...@elojasystems.com on 4 Oct 2011 at 6:41

GoogleCodeExporter commented 9 years ago
svg-edit doesn't work in the iframe for the MSIE Internet browser. I have 
attached the image. I'm using MSIE version 9 on Win 7 Professional using a PC 
Dell Desktop Computer.

It doesn't work in Firefox too. The button are visible and colorful, but when 
you click any button, nothing happens. I have attached an image that shows what 
version Firefox is.

It works fine in the latest chrome. I have attached an image that shows what 
version Chrome it.

Original comment by iweberc...@gmail.com on 27 Jul 2012 at 12:40

Attachments: