ondras/wwwsqldesigner

Can't add any new table on page

tehSLy opened this issue · 12 comments

Unfortunately, can't add any table on scheme in Chrome 56.0.2924.87 (64-bit), although, all other interactions are possible (editing, loading, etc.). Nothing like errors or something appeared, neither in console, nor as a pop-up. Doesn't seem to be happening in FireFox though.
Any ideas? Thanks!

@tehSLy,

what URL? Your own installation, or http://ondras.zarovi.cz/sql/demo/?keyword=default ? I just tried with Chrome 58 and adding new table worked flawlessly.

Also, what about some extension causing this behavior?

@ondras
Thanks for respond! it's the link, you've pointed. It's weird, but it was working just fine sometime ago, but atm, it's not. No additional extensions were added during this time, they were the same all the time. Also, bug has been appearing from time to time, but now, it's just stucked with it. Not a big deal use editor on FF, though, i'd wanted to understand what is causing problem, or help to fix, if there is a real bug.

I have the same issue on the same version of Chrome (Version 56.0.2924.87).
Strangely enough, it works when using a mouse, but not when using a touchpad.

Only extensions: Toggl Button and uBlock Origin.

How can I use this software from Github? using the link above, I only get to the demo site. I know I can download this to my server but was wondering...

@mig2000 I am not sure what exactly is your goal. This is a web app, so to use it, you need a web server and a web browser.

You can host it on your own web server (downloading the software to it) or use a web server provided by someone else. This is why the demo site at http://ondras.zarovi.cz/sql/demo/?keyword=default exists; to have a hosted version for people that do not have/want their own webserver.

Not sure how GitHub, the source code repository, fits into the scheme :-)

I am also experiencing this issue when I use the tool at http://ondras.zarovi.cz/sql/demo/?keyword=default . The issue doesn't show any console errors when presented, and emptying the cache and cookies does not solve the issue. Chrome Version 57.0.2987.133 (64-bit)

Hi @TylerJBrown192,

to sum things up: the exacts steps to reproduce are:

  1. open http://ondras.zarovi.cz/sql/demo/?keyword=default in Chrome
  2. click "Add table" in the toolbar
  3. click the main area
  4. nothing happens

Correct? Can you try this without any browser extensions installed/active?

@ondras Thanks for the response. Yes, these were the reproduction steps I followed 2 days ago. I'm not able to reproduce this error on a separate computer unfortunately.

Additional information I can give on this issue: I was up to about 10 tables, each with 3+ fields. I had also enabled the 'Show field size in table design' and 'Show field datatype in table design' options ~20 minutes beforehand.

I still think that the behavior described might have been caused by browser extensions. These often modify how pages/browser works in an unpredictable way. Also, no errors in JS console and inability to reproduce are typical signs of an extension-caused issue.

Well, this is weird... I was just about to add that I was having a very similar issue, both on the hosted demo and on my own web server, except the mouse/trackpad behaviour is different. The only way I can add a table with the trackpad is to double-click; if I use a mouse, I can't add a table by single-clicking or double-clicking, yet I can add one by clicking my scroll wheel, which is programmed to issue a double-click!

However, in between commenting on #252 and coming here to type this, suddenly a single click is working everywhere! I didn't change or restart anything - I can't fathom this seemingly random behaviour!

Experienced the same issue today, first it worked and suddenly only using the touchscreen allowed to add a table. I suppose there is some mixup between mouseevent and touchevents. Did not have time to debug it

Had the same issue, was working fine and then randomly I could no longer add tables. However, if I click my laptop 'click' button repeatedly really fast for like 5 seconds, then I can add a new table... weird.