Bug 575448

Summary: [GTK] Cursor created with GIF format images renders incorrectly
Product: [Eclipse Project] Platform Reporter: Phil Beauvoir <p.beauvoir>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: peter
Version: 4.21   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Snippet to show the problem none

Description Phil Beauvoir CLA 2021-08-17 05:27:31 EDT
Created attachment 286954 [details]
Snippet to show the problem

With reference to Bug 575425.

Run the attached snippet on Linux. The cursor has a black background when the *.gif source and mask images are used.

Now change the snippet so that the *.png image files are used. The cursor is rendered correctly.

(Works as expected on Mac and Windows.)
Comment 1 Phil Beauvoir CLA 2021-08-17 07:06:28 EDT
For information, the black creation tool cursors can be seen on Linux GTK in the following tools/frameworks:

- Eclipse BPMN Editor
- Eclipse Ecore Diagram Editor
- GMF Tool Palettes
- Sirius Tool Palettes
- Modelio Modeling Tool

In fact, any tool that uses Eclipse GEF 3.1 Palette creation tools.

In Archi, I have worked around it by creating my own Cursors using a single PNG image with transparency.

(This comment is not meant to push for a fix, merely to note where the issue manifests)