-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mac] GC#fillGradientRectangle don't color for y < 0 #1652
Comments
…#1652 GC#fillGradientRectangle must be applied for negative y too. Fixes eclipse-platform#1652
Could you provide a SWT stand-alone snippet that shows the problem? I would like to make sure that your PR doesn't cause other issues.
So your PR reverses this and does that cause a regression for that fix? |
Hi @Phillipus
Sorry, it’s not so easy to reproduce this with purely SWT code, and I don’t have enough time to do so.
I have not observed any regression on the bug described in https://bugs.eclipse.org/bugs/show_bug.cgi?id=564885 after applying my changes. Additionally, I am questioning the relevance of the fix made in commit 4f5f2dc. |
Describe the bug
When using
GC#fillGradientRectangle
with y < 0, color is not applied between y and 0.By example, this causes a bug in the Eclipse Graphiti library, where you can create diagrams with elements with negative coordinates
https://gitlab.eclipse.org/eclipse/graphiti/graphiti
To Reproduce
In Eclipse SDK :
Expected behavior
GC#fillGradientRectangle
should also color with a y < 0, which is the case on Windows and LinuxScreenshots
In the above screenshot,
Environment:
Additional context
This bug was introduced by commit 4f5f2dc
The text was updated successfully, but these errors were encountered: