dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.04k stars 1.16k forks source link

The InkCanvas control area located in the upper left corner of the WPF program displays straight line for the first ten touches. #9781

Open leoparddne opened 1 week ago

leoparddne commented 1 week ago

Description

.net core3 - .net8 inkcanvas display error when user touch the inkcanvas,it will show a line on the inkcanva and just show in the first 10 times. This question just occued on .net core but not in framework。 Is there any solution can skip this issue or fix the problem?

Reproduction Steps

any wpf application , only use inkcanvas control

Expected behavior

use screen with touch function

Actual behavior

touch on the left top corner will display a excess diagonal lines , and will disappear when touch ended

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

leoparddne commented 6 days ago

https://github.com/user-attachments/assets/f10ee811-d44e-4461-b621-086882a8e2d7

leoparddne commented 6 days ago

@miloush hi, Is there a solution can solve the problem or any other way can bypass the question