Exception appears when Narrator is active and user tries to add row after removing of another row.
See original GitHub issue-
.NET Core Version: 5.0.100-rc.2.20479.15
-
Have you experienced this same bug with .NET Framework?: No
Minimal repro:
- Create the application with a DataGridView
- Add a several rows to the DataGridView.
- Or just use the attached project (4228.zip)
- Run the application.
- Start editing the last row (row to add a new row)
- Delete the last row with data
- Start editing the last row (row to add a new row)
Actual behavior: The error is displayed.
System.Windows.Forms.dll!System.Windows.Forms.AccessibleObject.Interop.UiaCore.IRawElementProviderFragment.FragmentRoot.get() Line 657 C#
[External Code]
System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(System.UIntPtr dwComponentID, Interop.Mso.msoloop uReason, void* pvLoopData) Line 345 C#
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Interop.Mso.msoloop reason, System.Windows.Forms.ApplicationContext context) Line 1111 C#
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Interop.Mso.msoloop reason, System.Windows.Forms.ApplicationContext context) Line 975 C#
System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm) Line 1198 C#
WindowsFormsApp25.dll!WindowsFormsApp25.Program.Main() Line 20 C#
Expected behavior: The error should not be displayed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Solved: Error creating row: "URL was not parsed due to an
Solved: I am intending to add a row to my custom entity. This simple test is failing with "URL was not parsed due...
Read more >Exception Reporting in Power BI: Catch the Error Rows ...
Errors can happen by many reasons, In this post, I'll show you a way to catch potential errors in Power Query and how...
Read more >3 common foreign key mistakes (and how to avoid them)
Foreign key constraints are important to any SQL database, but they can also cause problems if they're not implemented correctly.
Read more >What is a stack trace, and how can I use it to debug my ...
In simple terms, a stack trace is a list of the method calls that the application was in the middle of when an...
Read more >Cannot delete or update a parent row: a foreign key ...
The simple way would be to disable the foreign key check; make the changes then re-enable foreign key check.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Verified the issue with latest 6.0.100-preview.3.21169.6, the issue has been fixed that no exception pops up as below gif.
I’ll put this on the backlog so we can check it out later.