svgedit
svgedit copied to clipboard
connector bug
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- open link "...?lang=zh-CN"
- draw 2 circles
- select connector,connect 2 circles
- See error
Expected behavior A clear and concise description of what you expected to happen.
SVG-Edit environment (IMPORTANT)
- File for SVG-Edit:
svg-editor.html?lang=zh-CN
- Version: 4.10
Desktop (please complete the following information):
- OS: win7 x64
- Browser :chrome
- Version 69.0.3497.100
consoleoutput Lang: zh-CN svgedit-config-iife.js:28384 Uncaught TypeError: Cannot read property 'showGrips' of null svgedit-config-iife.js:14162 at SvgCanvas.addToSelection.addToSelection (svgedit-config-iife.js:14162) at SvgCanvas.selectOnly.selectOnly (svgedit-config-iife.js:15172)
console.log
svgedit-config-iife.js:14162 Uncaught TypeError: Cannot read property 'showGrips' of null svgedit-config-iife.js:28342 Lang: zh-CN svgedit-config-iife.js:36054 Uncaught (in promise) TypeError: Cannot read property 'runExtension' of undefined 4svgedit-config-iife.js:28342 Lang: zh-CN svgedit-config-iife.js:28342 Lang: zh-CN svgedit-config-iife.js:28342 Lang: zh-CN
Symbols '-' is illegal in js ? global replace '-' with '_'?
I am not able to replicate in 4.1.0 (e.g., at https://svg-edit.github.io/svgedit/releases/svg-edit-4.1.0/editor/svg-editor.html?lang=zh-CN ). Are you sure you are testing against that version?
yes,version 4.1.0
https://pan.baidu.com/s/1h6qblu3hSiafntm0V3Blqg
screenshot
Can you replicate on https://svg-edit.github.io/svgedit/releases/svg-edit-4.1.0/editor/svg-editor.html?lang=zh-CN ?
yes, i have replicated 2 minutes ago on https://svg-edit.github.io/svgedit/releases/svg-edit-4.1.0/editor/svg-editor.html?lang=zh-CN
At 2018-11-30 16:29:17, "Brett Zamir" [email protected] wrote:
Can you replicate on https://svg-edit.github.io/svgedit/releases/svg-edit-4.1.0/editor/svg-editor.html?lang=zh-CN ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
my be i found the reason, i open 2 links in a browser.
another bug:
At 2018-11-30 16:29:17, "Brett Zamir" [email protected] wrote:
Can you replicate on https://svg-edit.github.io/svgedit/releases/svg-edit-4.1.0/editor/svg-editor.html?lang=zh-CN ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
You found another bug? It didn't come through...
another bug i replied to your email, pic can't display here.
Reposting @enlove's screenshots and comments:
Sorry, what do you mean "draw out it"? drag out
once open more than 1 editsvg tab ,Only the last one connector is working 。
bug 1:open 2 tab (editsvg) in a browser ,only the last one tab's 'connector' plugin is working.
bug 2:open layer view on the right,drag a menu onto the canvas ,layer view will not display properly
I've added #306 on your behalf for bug 2. In the future, please file separate issues. Thanks for the reports!