svgedit icon indicating copy to clipboard operation
svgedit copied to clipboard

connector bug

Open enlove opened this issue 6 years ago • 12 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. open link "...?lang=zh-CN"
  2. draw 2 circles
  3. select connector,connect 2 circles
  4. 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)

enlove avatar Nov 30 '18 07:11 enlove

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 '_'?

enlove avatar Nov 30 '18 07:11 enlove

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?

brettz9 avatar Nov 30 '18 07:11 brettz9

yes,version 4.1.0

enlove avatar Nov 30 '18 08:11 enlove

https://pan.baidu.com/s/1h6qblu3hSiafntm0V3Blqg

screenshot

enlove avatar Nov 30 '18 08:11 enlove

Can you replicate on https://svg-edit.github.io/svgedit/releases/svg-edit-4.1.0/editor/svg-editor.html?lang=zh-CN ?

brettz9 avatar Nov 30 '18 08:11 brettz9

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.

enlove avatar Nov 30 '18 08:11 enlove

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.

enlove avatar Nov 30 '18 08:11 enlove

You found another bug? It didn't come through...

brettz9 avatar Nov 30 '18 08:11 brettz9

another bug i replied to your email, pic can't display here.

enlove avatar Nov 30 '18 09:11 enlove

Reposting @enlove's screenshots and comments:

Sorry, what do you mean "draw out it"? drag out

image-1

once open more than 1 editsvg tab ,Only the last one connector is working 。

image

brettz9 avatar Dec 01 '18 02:12 brettz9

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

enlove avatar Dec 01 '18 18:12 enlove

I've added #306 on your behalf for bug 2. In the future, please file separate issues. Thanks for the reports!

brettz9 avatar Dec 04 '18 01:12 brettz9