I have up Steema Chart to 6.2025.1.13 and it crashes the app when displaying the main application window which contain five charts.
If i restored to 6.2024.11.6 and it works fine.
at Microsoft.Maui.Graphics.Win2D.W2DCanvasState.ClipPath(PathF path, WindingMode windingMode)
at Microsoft.Maui.Graphics.Win2D.W2DCanvas.ClipPath(PathF path, WindingMode windingMode)
at Steema.TeeChart.Maui.Drawing.CanvasMaui.ClipRectangle(Rect r)
at Steema.TeeChart.Maui.Drawing.Graphics3DBase.Steema.TeeChart.Drawing.IGraphics3D.ClipRectangle(Rectangle r)
at Steema.TeeChart.Tools.Annotation.DrawText(IGraphics3D g)
at Steema.TeeChart.Tools.Annotation.DrawText()
at Steema.TeeChart.Tools.Annotation.ChartEvent(EventArgs e)
at Steema.TeeChart.Tools.BannerTool.ChartEvent(EventArgs e)
at Steema.TeeChart.Chart.BroadcastToolEvent(EventArgs e)
at Steema.TeeChart.Chart.InternalDraw(Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw()
at Steema.TeeChart.Maui.TChart.Draw(ICanvas g, RectF rect)
at Microsoft.Maui.Graphics.Win2D.W2DGraphicsView.OnDraw(CanvasControl sender, CanvasDrawEventArgs args)
at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_global__Microsoft_Graphics_Canvas_UI_Xaml_CanvasControl__global__Microsoft_Graphics_Canvas_UI_Xaml_CanvasDrawEventArgs_.EventState.<GetEventInvoke>b__1_0(CanvasControl sender, CanvasDrawEventArgs args)
at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Using Visual Studio : Microsoft Visual Studio Community 2022 (ARM 64-bit) - Preview
Version 17.13.0 Preview 5.0
DotNet : 9
MauiControl : 9.0.30
CommunityToolKit : 10.030
Application crashes after installing 6.2025.1.13, with the following error: Only one clip operation currently supported
-
- Newbie
- Posts: 18
- Joined: Mon Jan 29, 2024 12:00 am
Re: Application crashes after installing 6.2025.1.13, with the following error: Only one clip operation currently suppo
Hello,
can you pleae tell us in which platform this happens to you (windows, android or ios) ?
Thanks
can you pleae tell us in which platform this happens to you (windows, android or ios) ?
Thanks
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 18
- Joined: Mon Jan 29, 2024 12:00 am
Re: Application crashes after installing 6.2025.1.13, with the following error: Only one clip operation currently suppo
Sorry, I took so long to response.
Windows !
Windows !
Re: Application crashes after installing 6.2025.1.13, with the following error: Only one clip operation currently suppo
Ok, no problem, let us do some checks here and back to you asap.
Thanks
Thanks
Pep Jorge
http://support.steema.com
http://support.steema.com
Re: Application crashes after installing 6.2025.1.13, with the following error: Only one clip operation currently suppo
Hello,
could you please share me the code you're using ? or just tell me which series types you're drawing ?
I've been trying to reproduce the problem by usign some series types and all worked fine.
Maybe it's happenning at the time to draw something on canvas ?
Thanks
could you please share me the code you're using ? or just tell me which series types you're drawing ?
I've been trying to reproduce the problem by usign some series types and all worked fine.
Maybe it's happenning at the time to draw something on canvas ?
Thanks
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 18
- Joined: Mon Jan 29, 2024 12:00 am
Re: Application crashes after installing 6.2025.1.13, with the following error: Only one clip operation currently suppo
After much research, the problem is caused by the use of your BannerTool.
I was dynamically creating a BannerTool in the ViewModel's InitializingChartControl() which is called in my constructor of the View.
If I comment out the creation and references to it, the application runs fine.
Sample creation code:
_BannerTool = new BannerTool(Chart);
_BannerTool.Shape.Color = System.Drawing.Color.Transparent;
_BannerTool.Shape.Font.Color = System.Drawing.Color.LightGray;
_BannerTool.Shape.Font.Size = 15;
_BannerTool.Shape.Shadow.Visible = false;
_BannerTool.Shape.Pen.Visible = false;
_BannerTool.Position = AnnotationPositions.Center;
_BannerTool.TextAlign = Steema.TeeChart.Drawing.StringAlignment.Center;
_BannerTool.Text = "";
Hope this help you!
I was dynamically creating a BannerTool in the ViewModel's InitializingChartControl() which is called in my constructor of the View.
If I comment out the creation and references to it, the application runs fine.
Sample creation code:
_BannerTool = new BannerTool(Chart);
_BannerTool.Shape.Color = System.Drawing.Color.Transparent;
_BannerTool.Shape.Font.Color = System.Drawing.Color.LightGray;
_BannerTool.Shape.Font.Size = 15;
_BannerTool.Shape.Shadow.Visible = false;
_BannerTool.Shape.Pen.Visible = false;
_BannerTool.Position = AnnotationPositions.Center;
_BannerTool.TextAlign = Steema.TeeChart.Drawing.StringAlignment.Center;
_BannerTool.Text = "";
Hope this help you!
Re: Application crashes after installing 6.2025.1.13, with the following error: Only one clip operation currently suppo
Hello,
it's strange, because I've just checked and it's working fine here by using a BannerTool.
Please, can you check if the attached sample demo that uses the code you sent to me, is working fine to you ?
Thanks
it's strange, because I've just checked and it's working fine here by using a BannerTool.
Please, can you check if the attached sample demo that uses the code you sent to me, is working fine to you ?
Thanks
Pep Jorge
http://support.steema.com
http://support.steema.com