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

Bug 557994

Summary: Canvas graphics context created in Linux GTK or will not work as supposed
Product: [Eclipse Project] Platform Reporter: Missing name Mising name <winfried.bruegmann>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: paul-eclipse
Version: 4.13   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Modified snipped to reproduce none

Description Missing name Mising name CLA 2019-12-07 13:26:18 EST
Created attachment 281161 [details]
Modified snipped to reproduce

Instead of using the canvas event GC, I sometimes need to use a GC created by "gc = new GC(canvas)". For example drawing a pointer line as cursor on a canvas. Any operation based on this GC will do nothing at a Linux. This malfunction started with SWT release 4.12, so far I mentioned. 

Other operating systems Mac OS X or Windows doesn't show this problem, every thing working fine.

Procedure to reproduce with modifyed Snippet275.java, refer to attachment.

have a nice day, Winfried
Comment 1 Paul Pazderski CLA 2019-12-07 13:32:02 EST
Hi Winfried,
your problem is likely bug 551982 which was fixed in 4.14M3. Please try with this version or the most recent 4.14RC2 and reopen in case your problem persists.

*** This bug has been marked as a duplicate of bug 551982 ***
Comment 2 Missing name Mising name CLA 2019-12-07 13:50:42 EST
Thank you, verification with 4.14RC2 successful.

(4.13M3 for Linux contains a packaging error, swt.jar size is 334 Kb ?)
Comment 3 Paul Pazderski CLA 2019-12-07 14:02:54 EST
(In reply to Missing name Mising name from comment #2)
> (4.13M3 for Linux contains a packaging error, swt.jar size is 334 Kb ?)

Yes, now that you are mention it I remember bug 553393.