Community
Participate
Working Groups
Created attachment 286948 [details] Snippets Run the attached Snippets on Windows and Mac. The cursors are rendered correctly from their source and mask images. Now run the snippets on Linux GTK. The source and mask images are rendered reversed. This is seen more clearly in the "SnippetWithFiles" example. If you swap the source and mask images in Linux the cursor renders correctly.
I don't think this is a recent change, I see same drawing on 4.12.
(In reply to Andrey Loskutov from comment #1) > I don't think this is a recent change, I see same drawing on 4.12. I agree, I think it has been like this for some time. It's a problem for tools that use Eclipse GEF, because the cursors used by GEF have a black background on Linux.
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184068
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184068 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=ee30e85a79fe192c6c45fe67664a4bf3360d2bea
Thanks again for the fast fix! Will test in next I build.
Verified fixed in Eclipse SDK 4.21.0.I20210816-1800, thanks! Andrey - I originally came across this problem using the GEF 3.1 and its cursors which use GIF files[1]. On Linux, masking does not work if the source and mask images are in GIF format, but converting them to PNG works OK. Is this worth reporting as a new bug? If so, the attached snippet example is still valid if the image files are converted to GIF format. [1] https://github.com/eclipse/gef-legacy/blob/master/org.eclipse.gef/src/org/eclipse/gef/SharedCursors.java
(In reply to Phil Beauvoir from comment #6) > Verified fixed in Eclipse SDK 4.21.0.I20210816-1800, thanks! Thank you! The bug was unnoticed for years now. > Andrey - I originally came across this problem using the GEF 3.1 and its > cursors which use GIF files[1]. > > On Linux, masking does not work if the source and mask images are in GIF > format, but converting them to PNG works OK. Is this worth reporting as a > new bug? If so, the attached snippet example is still valid if the image > files are converted to GIF format. > > > [1] > https://github.com/eclipse/gef-legacy/blob/master/org.eclipse.gef/src/org/ > eclipse/gef/SharedCursors.java Please report new bug, just to document the finding. I believe there are no resources to support this for now (I will not be able to work on it for sure).
(In reply to Andrey Loskutov from comment #7) > > Please report new bug, just to document the finding. I believe there are no > resources to support this for now (I will not be able to work on it for > sure). Understood. I opened Bug 575448.