Bug 575448 - [GTK] Cursor created with GIF format images renders incorrectly
Summary: [GTK] Cursor created with GIF format images renders incorrectly
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.21   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-17 05:27 EDT by Phil Beauvoir CLA
Modified: 2021-09-23 04:40 EDT (History)
1 user (show)

See Also:


Attachments
Snippet to show the problem (1.89 KB, application/octet-stream)
2021-08-17 05:27 EDT, Phil Beauvoir CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)