Bug #59285 copy paste datatype
Submitted: 4 Jan 2011 17:48 Modified: 16 Nov 2011 7:13
Reporter: Petronel Laviniu Malutan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.31 OS:Windows (Vista)
Assigned to: CPU Architecture:Any
Tags: copy, datatype, paste

[4 Jan 2011 17:48] Petronel Laviniu Malutan
Description:
Copy paste datatype should be possible as selecting text when modifying datatype is it allowed !

Unfortunately it stil copies the curent;ly selected table when in diagram !

How to repeat:
click on a table in diagram to edit its columns

select a column and type decimal(9,2) for example then select that inputed text and ctrl+c

then you click on a second table in diagram and click on a datatype for any column to edit and as you expect ctrl+V should paste the copied text in the previous ctrl+C operation but :

the ctrl+v is creating a copy of the table !

Suggested fix:
please simple copy the object text when in the table edit mode !

Copy paste tables in diagrams should work only when the editing of the table is closed by pressing X to close the opened editing table area !
[5 Jan 2011 11:16] Valeriy Kravchuk
What OS do you use? Ctrl+C/Ctrl+V works exactly as you expected in Workbench 5.2.31 on Windows XP.
[6 Jan 2011 5:39] Petronel Laviniu Malutan
You seem to be right ! I've rechecked and is as you said and I've hoped too...

Anyhow it looks yesterday was working different so I will try to see what exactly is producing that error and what circumstances or steps I've done to arrive in a bad copy behaviour !

Thank you
[6 Jan 2011 5:40] Petronel Laviniu Malutan
Sorry I forgot to mention

OS Name:                   Microsoftr Windows VistaT Home Premium
OS Version:                6.0.6002 Service Pack 2 Build 6002
[7 Jan 2011 7:30] Petronel Laviniu Malutan
Unfortunatelly it happens in some unknown yet circumstances !

After I've played with my schema for around 1 hour, Ive decided to add a new column and now after copy a decimal(2,0) type to the new one the paste is copying the table in the diagram.

I;ve closed the column tab and table sheet at all, then double clicked again on the table, but the copy is not working normal.

Hard to say how to reproduce the case...

Maybe you can keep it under attention or checked as not 100% perfect ! ;)
[7 Jan 2011 7:31] Petronel Laviniu Malutan
Unfortunatelly it happens in some unknown yet circumstances !

After I've played with my schema for around 1 hour, Ive decided to add a new column and now after copy a decimal(2,0) type to the new one the paste is copying the table in the diagram.

I;ve closed the column tab and table sheet at all, then double clicked again on the table, but the copy is not working normal.

Hard to say how to reproduce the case...

Maybe you can keep it under attention or checked as not 100% perfect ! ;)
[17 Mar 2011 18:53] Rafael Antonio Bedoy Torres
could you please add the output of Workbenchs Help->System Info here to the report?

I'm trying to reproduce the bug.

Thanks in advance.
[18 Mar 2011 14:48] Petronel Laviniu Malutan
Description
Stopped working
Faulting Application Path:	C:\Program Files\MySQL\MySQL Workbench 5.2 CE\MySQLWorkbench.exe

Problem signature
Problem Event Name:	APPCRASH
Application Name:	MySQLWorkbench.exe
Application Version:	5.2.31.7115
Application Timestamp:	4d04ebea
Fault Module Name:	unknown
Fault Module Version:	0.0.0.0
Fault Module Timestamp:	00000000
Exception Code:	c0000005
Exception Offset:	08e0cae0
OS Version:	6.1.7600.2.0.0.768.3
Locale ID:	1033

....

Description
Stopped working
Faulting Application Path:	C:\Program Files\MySQL\MySQL Workbench 5.2 CE\MySQLWorkbench.exe

Problem signature
Problem Event Name:	APPCRASH
Application Name:	MySQLWorkbench.exe
Application Version:	5.2.31.7115
Application Timestamp:	4d04ebea
Fault Module Name:	unknown
Fault Module Version:	0.0.0.0
Fault Module Timestamp:	00000000
Exception Code:	c0000005
Exception Offset:	085498a0
OS Version:	6.1.7600.2.0.0.768.3
Locale ID:	1033

something like this appear in the windows problems more than once
[18 Mar 2011 15:17] Petronel Laviniu Malutan
SYSTEM INFO

MySQL Workbench CE for Windows version 5.2.31

Configuration Directory: C:\Users\petronel\AppData\Roaming\MySQL\Workbench

Data Directory: C:\Program Files\MySQL\MySQL Workbench 5.2 CE

Cairo Version: 1.8.8

Rendering Mode: OpenGL is available on this system, so OpenGL is used for rendering.

OpenGL Driver Version: 2.1.8787

OS: Microsoft Windows 7 Home Premium Edition (build 7600), 32-bit

CPU: 2x Intel(R) Core(TM)2 Duo CPU     T5800  @ 2.00GHz, 2.0 GiB RAM

Active video adapter: ATI Mobility Radeon HD 3650

Installed video RAM: 512 MB

Current video mode: 1280 x 800 x 4294967296 colors

Used bit depth: 32

Driver version: 8.632.1.2000

Installed display drivers: atiumdag.dll,atidxx32.dll,atidxx64,atiumdva.cap,atiumd64,atiumd6a,atitmm64

Current user language: English (United States)

so last crash was happening by only doing :
open a model from list
than clicking ALT+F4 

I think this is the single case when is happening
[18 Mar 2011 15:19] Petronel Laviniu Malutan
is happening also when clicking the x in the right top corner of WB !
[24 Mar 2011 13:06] Johannes Taxacher
this only happens when the table-colmun-line is selected instead of only the datatype or name field.
[16 Nov 2011 7:13] Philip Olson
Fixed as of 5.2.36:

+        Copying a table column would lose the data type, when only the
+        column line number was selected instead of the data type or
+        field name.