Excel-DNA / Excel-DNA/ExcelDna

WinForms focus issue in .NET 9

Open
#765 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

We have an issue when we create a WinForms form from the ribbon.

It works fine in .NET 4.8, 6.0 and 8.0:

![Image](https://github.com/user-attachments/assets/878054d3-f451-4029-b94d-9142864d5de4)

but does not in 9.0, it types in the Excel spreadsheet below the form:

![Image](https://github.com/user-attachments/assets/6a077f3f-f1f3-4096-b586-6be6887336f8)

We have no idea how to debug this. Do you think it's an issue with .NET?

See this code to be able to reproduce: https://github.com/jewicht/ExcelDNA-Samples/tree/add-form-to-ribbon-example (Ribbon.sln is modified to show a form with a textbox.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.