Community
Participate
Working Groups
Build ID: I20070608-1718 Steps To Reproduce: Can easily reproduce this with the Logic example. Just install the lastest Logic example plugin (3.3RC3 at the time of writing). Create a logic file and place a few shapes in edit area, save and right-click on the file and select print. I have only tried "print to PDF" due to no functional printers, and when printing to a pdf I end up with a huge file with all blank pages. Actually around 20000 pages depending on the logic diagram. More information: Tried the same procedure on Windows and it works just fine there.
The print button is disabled in linux-gtk
Printbutton is only disabled if using older GTK versions. From the SWT FAQ: "GTK+ began supporting printing in version 2.10. To print in Eclipse, you need to have Eclipse version 3.3 or later, and at least GTK+ 2.10.0. To determine what GTK+ version you are running, type: rpm -q gtk2."
I've got a working printer on a Linux system using 3.4M3 version of the GEF plug-in code base. The error consists of a print out with multiple empty pages. Using the debugger to step through the code, the error appears to be caused by the clipRect object's dimensions being defined with a width and height of either 0 (zero) or a negative value in the PrintFigureOperation#printPages method.