Bug #47384 Export to PDF or PS scrambled table positions
Submitted: 16 Sep 2009 20:58 Modified: 29 Jan 2010 14:37
Reporter: Karsten Wutzke Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.4a/5.2.8 OS:Windows (XP)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: export, pdf, postscript, print, printing, PS

[16 Sep 2009 20:58] Karsten Wutzke
Description:
When exporting the model to PDF or Postscript, all table positions are wrong, rendering the output useless.

How to repeat:
File -> Export -> Export as Single Page ...

PDF or Postscript...

Suggested fix:
-
[17 Sep 2009 6:20] Valeriy Kravchuk
Thank you for the problem report. Please, upload an .mwb file that demonstrates this. I do not see any problems with exporting my simple models to PDF.
[30 Sep 2009 13:12] Karsten Wutzke
I put the files files into the private area.
[14 Oct 2009 12:54] Karsten Wutzke
BTW, in Workbench 5.2.2 the export/print still works...
[16 Oct 2009 7:48] Susanne Ebrecht
Karsten,

we changed a lot on the printing topic and we fixed lots of errors there.

Please would you test if this still occurs on actual version of Workbench 5.2.

Actual is Workbench 5.2.4 at the moment.
[30 Oct 2009 13:22] Karsten Wutzke
Still the same. It has even become worse, because the PDF generated causes Acrobat Reader to pop up an error dialog. The tables aren't visible at all.
[30 Oct 2009 13:24] Karsten Wutzke
Error PDF

Attachment: bbstats-2009-10-30.pdf (application/pdf, text), 465.14 KiB.

[30 Oct 2009 13:31] Karsten Wutzke
However, with another test mwb the output is good...
[23 Nov 2009 18:42] MySQL Verification Team
Thank you for the feedback.
[24 Nov 2009 9:09] Susanne Ebrecht
Bug #48961 is set as duplicate of this bug here.
[24 Nov 2009 9:11] Susanne Ebrecht
Bug #48226 is set as duplicate of this bug here.
[24 Nov 2009 11:25] Susanne Ebrecht
Bug #48775 is a duplicate of this bug here.
[14 Dec 2009 12:00] MySQL Verification Team
Bug http://bugs.mysql.com/bug.php?id=49661 marked as duplicate of this one.
[21 Dec 2009 19:14] Chris Nanney
Same behavior for me when exporting to a PNG file as well, currently version 5.2.11 as well as all the previous 5.2 betas.

All the table are piled into a corner, I'll attach an example.
[21 Dec 2009 19:14] Chris Nanney
Jumbled tables on export to PNG

Attachment: error.png (image/png, text), 180.93 KiB.

[30 Dec 2009 15:02] Alfredo Kojima
This works in MacOS X. If anyone sees the problems in Mac, please comment here.
Will investigate in Windows.
[22 Jan 2010 2:30] Alfredo Kojima
bug #50244 marked as duplicate of this one
[22 Jan 2010 16:16] David Peace
Just so everyone knows, I found out what is going on and wanted to make sure this was set on the bug.

The tables move to the x,y coordinate on the PAGE, that they are in a LAYER.  So if you have a table in a layer at coordinate 5,10 IN the layer, it will instead be placed at 5,10 IN the document instead (putting on the top-left).  If you remove all the layers, your tables will appear fine (in the right location)

For me (so far) this is only apparent for tables that are placed inside of layers.
[26 Jan 2010 14:08] Johannes Taxacher
fix confirmed. will be included in 5.2.15
[29 Jan 2010 14:37] Tony Bedford
An entry has been added to the 5.2.15 changelog:

When exporting a model to a single file using File, Export, Export as Single Page PDF or Export as Single Page Postscript File, the table positions contained in the file were incorrect.