These are chat archives for AvaloniaUI/Avalonia

25th
Aug 2017
Eli Arbel
@aelij
Aug 25 2017 09:17
I have a weird problem with PopupRoot. It appears once but not in subsequent Show() calls. And this only happens if DrawFps/DrawDirtyRects is set to true.
Steven Kirk
@grokys
Aug 25 2017 09:18
hmm that is weird
Eli Arbel
@aelij
Aug 25 2017 09:25

Does this make sense? I changed the following lines

                if (renderOverlay)
                {
                    RenderOverlay(scene);
                    RenderComposite(scene);
                }
                else if(composite)
                {
                    RenderComposite(scene);
                }

To:

                if (renderOverlay)
                {
                    RenderOverlay(scene);
                }

                if (composite)
                {
                    RenderComposite(scene);
                }
Eli Arbel
@aelij
Aug 25 2017 09:45
Never mind, that doesn't work well either
Eli Arbel
@aelij
Aug 25 2017 09:54
It seems like I have to create a new PopupRoot every time, can't reuse it
Steven Kirk
@grokys
Aug 25 2017 10:00
but only when DrawFps/DrawDirtyRects is enabled?
Eli Arbel
@aelij
Aug 25 2017 10:00
From my usage, it seems so
Hmm actually I now see it's not only in those cases. But it's much more consistent with DrawFps/DrawDirtyRects.
I wonder if we could replace our grid by this one
Since Xamarin Forms are now MIT-licensed
Darnell Williams
@Seeker1437
Aug 25 2017 18:37
Having issues targeting net standard 1.3 lol
Might be a good idea, Grid doesn't behave as expected for me lol