Bug 578585 - Drawing into image and usage as background does not work correctly
Summary: Drawing into image and usage as background does not work correctly
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.22   Edit
Hardware: PC Mac OS X
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-04 08:28 EST by Steffen Zimmermann CLA
Modified: 2022-07-25 08:13 EDT (History)
1 user (show)

See Also:


Attachments
Test Program (2.58 KB, application/octet-stream)
2022-02-04 08:28 EST, Steffen Zimmermann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Zimmermann CLA 2022-02-04 08:28:46 EST
Created attachment 287988 [details]
Test Program

There seems to be a SWT issue by drawing something into an image and use afterwards this image as background for a canvas. This problem happens only on Mac with Big sure or Monterey as far as we could see.
I've attached a simple standalone program which draws a green spline and a red line into an image and use then this image as background.
The red line should start on the left, top corner and ends at the right, bottom corner.
On Windows that works fine. But on Mac you can see that there is shift of the graphical content on both axes.
This problem is critical for our application, because we use this kind of handing to optimize the UI performance.