dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
263 stars 56 forks source link

Question Answering&Named Entity Recognition: The rows and row headings are misaligned in the "Data Preview" table when dragging the scroll bar. #2866

Open v-Hailishi opened 6 months ago

v-Hailishi commented 6 months ago

System Information (please complete the following information): Windows OS: Windows-11-Enterprise-22H2 ML.Net Model Builder 2022: 17.18.2.2412201 (Main Build) Microsoft Visual Studio Enterprise: 2022(17.8.5) .Net Core: 6.0,7.0,8.0

Describe the bug

TestMatrix https://github.com/dotnet/machinelearning-modelbuilder/files/14342564/NERTestdata.zip

To Reproduce Steps to reproduce the behavior:

  1. Select Create a new project from the Visual Studio start window.
  2. Choose the C# Console App (.NET Core) project template.
  3. Add model builder by right click on the project.
  4. Select "Question Answering" or "Named Entity Recognition" scenario.
  5. On the Data page, choose the data source, drag the scroll bar under the "Data Preview" table.
  6. Sometimes the rows and row headings are misaligned.

Expected behavior The rows and row headings should be aligned in the "Data Preview" table when dragging the scroll bar.

Screenshot: image image

Additional context:

zewditu commented 6 months ago

This seems WPF DataGrid scrolling issues. @zewditu should do more investigation