View Issue Details

IDProjectCategoryView StatusLast Update
0001837NoesisGUIC# SDKpublic2020-11-20 14:01
Reporterai_enabled Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionno change required 
Product Version3.0.6 
Summary0001837: PPAA doesn't work / View.Content.PPAAMode has no effect
Description

Hi guys,
I've noticed that in 3.0.6 (have not tried 3.0.7 yet) the PPAA mode doesn't work and change of View.Content.PPAAModel has no effect.
Please check!

PlatformAny

Activities

sfernandez

sfernandez

2020-11-13 19:21

manager   ~0006751

Did you have PPAA enabled in the View?

view.SetFlags(RenderFlags.PPAA);

How are you using PPAAMode? That enum contains two possible values:

  • Default means it will use whatever you have set in the View (this is the default value for the property).
  • Disabled means PPAA is not used on that element subtree (remark that this property is inheritable).
ai_enabled

ai_enabled

2020-11-18 23:14

updater   ~0006771

Thank you, Sergio!

You're totally right, I didn't set RenderFlags.PPAA! Somehow I've totally missed this NoesisGUI changelog entry "Removed SetIsPPAAEnabled and GetIsPPAAEnabled from IView. PPAA is now part of RenderFlags enumeration".
I was under impression that the new PPAAMode properly of FrameworkElement is enough.
Oddly enough, it seems the change was done long ago (3.0.0b1) but I've noticed lack of PPAA only few days ago. I swear it worked fine until recently!

By the way, Is there any harm in keeping RenderFlags.PPAA for the View even if I set it to PPAAMode to Disabled for the View's content? Or it's best to set it only when we actually want to apply PPAA?

Regards!

sfernandez

sfernandez

2020-11-19 10:08

manager   ~0006772

If you want to disable PPAA you should do it by removing the RenderFlags.PPAA in the View, because even if you set PPAAMode to Disabled in View's content that won't inherit on Popups (they are not children of the content).

It is better to use PPAAMode just for disabling PPAA on parts of the UI where you don't need antialiasing (for example on square/rectangle shapes).

ai_enabled

ai_enabled

2020-11-19 12:41

updater   ~0006773

Thank you for the explanation, Sergio! It makes perfect sense.
It's worth to mention about this detail in this doc page https://www.noesisengine.com/docs/Gui.Core.AntialiasingTutorial.html

Please close this ticket and sorry for disturbing you!
Regards!

Issue History

Date Modified Username Field Change
2020-11-13 16:08 ai_enabled New Issue
2020-11-13 19:21 sfernandez Assigned To => sfernandez
2020-11-13 19:21 sfernandez Status new => feedback
2020-11-13 19:21 sfernandez Note Added: 0006751
2020-11-18 23:14 ai_enabled Note Added: 0006771
2020-11-18 23:14 ai_enabled Status feedback => assigned
2020-11-19 10:08 sfernandez Note Added: 0006772
2020-11-19 10:08 sfernandez Status assigned => feedback
2020-11-19 12:41 ai_enabled Note Added: 0006773
2020-11-19 12:41 ai_enabled Status feedback => assigned
2020-11-20 14:01 sfernandez Status assigned => resolved
2020-11-20 14:01 sfernandez Resolution open => no change required