| Summary: | GraphicsConfiguration: setAntialias() causes drawOval() inconsistency | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov, arunkumar.thondapu, eclipse.felipe, ericwill, jolkdarr, nyssen, remy.suen, Silenio_Quarti |
| Version: | 3.7 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | stalebug | ||
| Attachments: | |||
|
Description
Matthias Wienand
Created attachment 202595 [details]
Code snippet to test the described behaviour
Created attachment 202609 [details]
Code snippet to test the described behaviour
Created attachment 202610 [details]
Resulting application window under Ubuntu
Created attachment 202611 [details]
Resulting application window under Mac
Arun, can you please investigate this problem? I figured that the SWT code on Linux makes use of Cairo library calls to draw when setAntialias() is invoked whereas it directly uses GDK API in the other case. I'm still trying to understand why the Cairo library calls seem to be failing. Felipe, do you have any idea why this could happen? Thanks! Hi all With: e.gc.fillOval(235, 5, 200, 1); Ovals get drawn. Something is persistently wrong with zero-pixel heighs for ovals (and maybe other shapes?). Running on Fedora 29 ends up with: (SWT:16924): Gtk-WARNING **: 15:55:06.102: drawing failure for widget 'SwtFixed': invalid matrix (not invertible) (SWT:16924): Gtk-WARNING **: 15:55:06.102: drawing failure for widget 'GtkScrolledWindow': invalid matrix (not invertible) (SWT:16924): Gtk-WARNING **: 15:55:06.102: drawing failure for widget 'GtkBox': invalid matrix (not invertible) (SWT:16924): Gtk-WARNING **: 15:55:06.102: drawing failure for widget 'GtkWindow': invalid matrix (not invertible) (SWT:16924): Gtk-WARNING **: 15:55:06.154: drawing failure for widget 'SwtFixed': invalid matrix (not invertible) (SWT:16924): Gtk-WARNING **: 15:55:06.154: drawing failure for widget 'GtkScrolledWindow': invalid matrix (not invertible) (SWT:16924): Gtk-WARNING **: 15:55:06.154: drawing failure for widget 'GtkBox': invalid matrix (not invertible) (SWT:16924): Gtk-WARNING **: 15:55:06.154: drawing failure for widget 'GtkWindow': invalid matrix (not invertible) Looks like some bug in our Cairo drawing, toggling anti-alias does nothing. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |