[jbosstools-issues] [JBoss JIRA] (ERT-731) [GTK] Shell.print(GC) not implemented [EBZ#547557]

Friendly Jira Robot (Jira) issues at jboss.org
Mon May 27 14:26:00 EDT 2019


Friendly Jira Robot created ERT-731:
---------------------------------------

             Summary: [GTK] Shell.print(GC) not implemented [EBZ#547557]
                 Key: ERT-731
                 URL: https://issues.jboss.org/browse/ERT-731
             Project: Eclipse Release Train
          Issue Type: Task
          Components: Platform
            Reporter: Friendly Jira Robot


Created attachment 278707
Snippet

Shell.print(GC) is overridden to do nothing and returns false.

https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/bundles/org.eclipse.swt/Eclipse%20SWT/gtk/org/eclipse/swt/widgets/Shell.java?id=a6350ebc8bc4392dcea8d513f3d283ecc6139014

Just removing the override seems to work, however take note that it only prints the client area, it doesn't print the Shell trimmings. It should be printed to a GC drawing to an Image with bounds equal to Shell.getClientArea(), not Shell.getBounds().



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbosstools-issues mailing list