winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Windows Forms is a .NET UI framework for building Windows desktop applications.

Results 640 winforms issues
Sort by recently updated
recently updated
newest added

Related #11227 ### Test System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Undo_CanUndo_Success ### Issue description The case failed in [PR build](https://dev.azure.com/dnceng-public/public/_build/results?buildId=712790&view=ms.vss-test-web.build-test-results-tab&runId=17822834&resultId=110643&paneView=debug), the failed scenario: - TextBoxBase_Undo_CanUndo_Success **Error Message:** - **In X86 unit:** - Assert.Equal() Failure: Strings differ...

test-bug
disabled-test

Related #11227 ### Test System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmpty_Success ### Issue description The case failed in [PR build](https://dev.azure.com/dnceng-public/public/_build/results?buildId=712790&view=ms.vss-test-web.build-test-results-tab&runId=17822834&resultId=110705&paneView=debug), the failed scenario: - System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmpty_Success **Error Message:** - **In X86 unit:** - Assert.Equal() Failure: Strings differ...

test-bug
disabled-test

### .NET version dotnet-sdk-9.0.100-preview.5.24258.1 ### Did it work in .NET Framework? Yes ### Did it work in any of the earlier releases of .NET Core or .NET 5+? _No response_...

tenet-accessibility
a11yMAS
area-Controls-DataGridView
area-Controls-ListView
A11y-WCAG2.2

Fixes #11449 ## Proposed changes - Modify the ProcessCmdKey() method to support space key. - Make a focus on the MenuStrip after the user hits enter to check it. ##...

waiting-review

1. replace use cases of [SetLocalAppContextSwitchValue](https://github.com/search?q=repo%3Adotnet%2Fwinforms%20SetLocalAppContextSwitchValue&type=code) in tests with custom scope for each switch see [BinaryFormatterScope](https://github.com/search?q=repo%3Adotnet%2Fwinforms%20BinaryFormatterScope&type=code) example. 2. Replace use cases of TestAccessor like this one - https://github.com/dotnet/winforms/blob/29528171490190df28fd4afc89dee271ebfef68b/src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/Dpi/FormDpiTests.cs#L111 with AppContext...

test-enhancement

Fixes #11450 ## Proposed changes - - Remove RenderMode - ## Screenshots ### Before ![image](https://github.com/dotnet/winforms/assets/135201996/3dad208c-b507-446d-ab84-1634a79651e1) ### After ![image](https://github.com/dotnet/winforms/assets/135201996/a10df783-e767-4bb3-a302-e35d4c1e4f03) ## Test environment(s) 9.0.0-preview.6.24305.2 ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/11502)

waiting-review
waiting-on-team

Fixes [designer/issues/2707](https://github.com/microsoft/winforms-designer/issues/2707) ## Root Cause We use `_requestedHeight` to set the height of a ComboBox when `DropDownStyle` is `ComboBoxStyle.Simple` https://github.com/dotnet/winforms/blob/70a6a7b4a9af452160e636838f946b3f4327383c/src/System.Windows.Forms/src/System/Windows/Forms/Controls/ComboBox/ComboBox.cs#L61-L63 Let's go through the repro steps that was described here...

waiting-on-team

### .NET version .NET SDK: Version: 9.0.100-preview.5.24307.3 Commit: 35b2c21ea6 Workload version: 9.0.100-manifests.6407b7e4 MSBuild version: 17.11.0-preview-24279-02+b963c24ef Runtime Environment: OS Name: Windows OS Version: 10.0.19045 OS Platform: Windows RID: win-x64 Microsoft.WindowsDesktop.App 9.0.0-preview.5.24306.8...

area-ILLinker/AOT
area-HDPI

### .NET version dotnet-sdk-9.0.100-preview.5.24258.1 ### Did it work in .NET Framework? Yes ### Did it work in any of the earlier releases of .NET Core or .NET 5+? _No response_...

tenet-accessibility
a11yMAS

Trimming WinForms will require a set of [feature switches](https://github.com/dotnet/designs/blob/main/accepted/2020/feature-switch.md) to be used similar to [other feature switches](https://github.com/dotnet/runtime/blob/main/docs/workflow/trimming/feature-switches.md) when trimming WinForms applications. Exploring the trim warnings from the [TrimTest project](https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/tests/IntegrationTests/TrimTest/TrimTest.csproj) shows...

area-Trimming