Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 297942

Summary: [Printing] Client area is not centered according to printer trim
Product: [Eclipse Project] Platform Reporter: Peter Severin <peter>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact: Carolyn MacLeod <carolynmacleod4>
Severity: major    
Priority: P3 CC: ipun, Silenio_Quarti
Version: 4.8Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
Snippet that prints a rectangle around client area none

Description Peter Severin CLA 2009-12-16 04:53:19 EST
Build Identifier: M20090917-0800

When drawing on printer GC I expect the result to be centered on paper according to printer's trim. I'm attaching a snippet that draws a rectangle around the client area. This rectangle should be positioned on paper with respect to printer margins as returned by computeTrim method. The same test works as expected on Mac OS X carbon.

Reproducible: Always
Comment 1 Peter Severin CLA 2009-12-16 04:54:38 EST
Created attachment 154549 [details]
Snippet that prints a rectangle around client area
Comment 2 Ian Pun CLA 2017-06-28 10:20:15 EDT
This problem is not reproducible anymore as of GTK3.22 on Fedora 25. Closing as WORKSFORME.