Community
Participate
Working Groups
Build Identifier: 20100617-1415 I have a GEF-based graph editor (http://graphiti-editor.sf.net/) that uses the GEF PrintAction. When I open the editor under Linux, the PrintAction calls Printer#getPrinterList, which somehow fires an event (after going in the Gtk OS layer) that seems to end up making Eclipse reactivating the part. See stack trace attached. Reproducible: Always Steps to Reproduce: 1. open a file with the editor on Linux
Created attachment 172858 [details] Stack trace
at org.eclipse.swt.widgets.Tree.gtk_button_press_event(Tree.java:1865) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1731) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4794) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:3485) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4372) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8163) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1239) at org.eclipse.swt.internal.gtk.OS._gtk_enumerate_printers(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_enumerate_printers(OS.java:9065) at org.eclipse.swt.printing.Printer.getPrinterList(Printer.java:91) Printer.getPrinterList() is causing a button click. Assigning to SWT for investing.
This is similar to bug#226560
(In reply to Praveen from comment #3) > This is similar to bug#226560 Closing based on this. Please reopen this ticket if the issue persists.