Open matt-goldman opened 2 years ago
Additional info: Really strange behaviour here. If I add a second LineTo, it seems to end where expected:
var bluePath = new PathF();
canvas.StrokeColor = Colors.Blue;
bluePath.MoveTo(100, 105);
bluePath.LineTo(200, 105);
bluePath.LineTo(200, 105);
bluePath.Close();
canvas.DrawPath(bluePath);
result:
@matt-goldman Are you using a GraphicsView and use an IDrawable to draw the content?. Could you attach a small sample where reproduce the issue?
Hi @matt-goldman. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
@jsuarezruiz I've create a repo here that demonstrates the bug: https://github.com/matt-goldman/GraphicsViewBugs.App
I chucked in a couple of other things that I noticed too, happy to open separate issues if you like.
@jsuarezruiz I've create a repo here that demonstrates the bug: https://github.com/matt-goldman/GraphicsViewBugs.App
I chucked in a couple of other things that I noticed too, happy to open separate issues if you like.
Thanks Matt!. It seems that the URL does not work for me, is it perhaps a private repository?
Hi @matt-goldman. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Thanks Matt!. It seems that the URL does not work for me, is it perhaps a private repository?
Oops sorry yes was private. Its public now.
Are you using a GraphicsView and use an IDrawable to draw the content?.
Sorry just realised I didn't answer this. Yes to both.
@jsuarezruiz does look ok for you?
@jsuarezruiz does look ok for you?
Can reproduce the issues. Really good example, thanks. Are issues in Maui Graphics. In fact there are 2-3 different issues here, so will send PRs in the Maui Graphics repo.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Description
There seems to be a problem with geometry on Windows. Take the following for example:
Expected result:
Figure: Result from above code on Android
Actual result:
Figure: Result from above code on Windows
Steps to Reproduce
Version with bug
Preview 14 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10.0.19041
Did you find any workaround?
No response
Relevant log output
No response