Bug #33246 Can't Move Tables outside of Layer
Submitted: 14 Dec 2007 14:36 Modified: 14 Dec 2007 17:31
Reporter: Mike Willbanks Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.10 SE Beta OS:Windows (XP SP2)
Assigned to: Peter Lavin CPU Architecture:Any
Tags: layer, move tables

[14 Dec 2007 14:36] Mike Willbanks
Description:
When you create a layer and put tables inside of that layer, attempting to drag the tables outside of that layer does not work.  The tables should be able to be dragged out of a layer in case of refactoring your model to different layers.

This might be slightly related to bug #32988.

How to repeat:
1. Create a new EER Diagram.
2. Create a table.
3. Create a layer around that table.
4. Attempt to move the table outside of the layer.

Suggested fix:
Tables, views, etc should be allowed to be moved in and out of the layer as needed.
[14 Dec 2007 14:36] Mike Willbanks
Model this can be reproduced in

Attachment: testModel.mwb (application/octet-stream, text), 4.06 KiB.

[14 Dec 2007 15:04] MySQL Verification Team
Thank you for the bug report.
[14 Dec 2007 16:36] Michael G. Zinner
It should not be possible to move objects inside layers outside by a simply drag operation.

The Control key needs to be pushed during the drag operation, then the objects like tables, views, etc. can be moved outside the layer.

This is on purpose to prevent accidental rearrangements.
[14 Dec 2007 17:31] Peter Lavin
Added to the documentation as follows:

To prevent accidental removal of objects from layers, you cannot simply click on an object and remove it. To remove an object from a layer, press the Ctrl key while dragging the object.