neojjang / wwwsqldesigner

Automatically exported from code.google.com/p/wwwsqldesigner
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

'Cancel create table' not working #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a table
2. Cancel operation
3.

What is the expected output? What do you see instead?
if 'cancel' is selected, a blank table is still inserted on page. No table
should be created.

What version of the product are you using? On what operating system?
2.3.2 Ubuntu 8.10

Please provide any additional information below.

Original issue reported on code.google.com by i...@amarosia.com on 23 Apr 2009 at 2:19

GoogleCodeExporter commented 9 years ago
Acknowledged.

Original comment by ondrej.zara on 23 Apr 2009 at 9:43

GoogleCodeExporter commented 9 years ago
Actually, this is not a bug. After you click on a canvas, a table is created 
(named
"new table") and a dialog is opened, allowing you to change its (two) 
properties:
name and comment. Clicking "Cancel" in this dialog does not express the desire 
to
remove newly added table, but rather the desire to cancel any changes made in 
this
dialog.
In this sense, the "Edit table" dialog behaves identically as it does in normal
scenarios, when table's label is doubleclicked.

To cancel a pending "table add", just re-click the relevant sidebar button.

I might remove the "edit after creation" functionality which automatically 
opens the
"Edit table" dialog once a table has been created, should people find this 
confusing.

Original comment by ondrej.zara on 23 Apr 2009 at 10:33

GoogleCodeExporter commented 9 years ago
Yes I see now,
I was creating the table under the dialog window, so i didn't notice the 
sequence of
events.

Original comment by i...@amarosia.com on 23 Apr 2009 at 11:27