| Summary: | Anti-aliasing does not work | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] GMF-Runtime | Reporter: | Yury Chernikov <me> | ||||||||||
| Component: | General | Assignee: | Marc Gobeil <mgobeil> | ||||||||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||||||||
| Severity: | major | ||||||||||||
| Priority: | P3 | CC: | ahunter.eclipse, eric.jain, shatalin | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows Vista | ||||||||||||
| Whiteboard: | |||||||||||||
| Bug Depends on: | 168311 | ||||||||||||
| Bug Blocks: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Yury Chernikov
Created attachment 136170 [details]
screenshot
This problem was caused by following lines recently introduces into Shape.paintFigure(Graphics graphics): graphics.setAntialias(antialias); graphics.setAlpha(alpha); I can restore antialiassing support by commenting out these lines. This change was introduces into CVS with following comment: [168311] gef-head mgobeil 081203 Support the new SWT Line Attributes After this change all the existing GMF diagrams stop working with antialiassing property (see attached screenshots of geoshapes example). So, I suggest following solution for now: - modify Shape code to support "unsettable" antialiassing property and do not callgraphics.setAntialias(antialias) if this attribute was not explicitly set for this Shape instance. I can not see any other solution for this problem for now. Created attachment 137349 [details]
GMF 2.1 screenshot (working with antialiasing)
Created attachment 137350 [details]
GMF 2.2 screenshot (incorrectly working with antialiasing)
Setting severity to major - this is a regression problem. adding link to bug #168311 as a reason of this problem Hi Marc, can you look at this. Could be related to Bug 273541 This is definitely related to the work we did in Galileo. Created attachment 137390 [details]
patch fix
*** Bug 273541 has been marked as a duplicate of this bug. *** *** Bug 266916 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 273541 *** [GMF Restructure] Bug 319140 : product GMF and component Runtime was the original product and component for this bug |