Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo fails to restore deleted TabControl in TableLayoutPanel in DemoConsole application #11628

Open
Syareel-Sukeri opened this issue Jul 4, 2024 · 0 comments
Labels
💥 regression-preview Regression from a preview release untriaged The team needs to look at this issue in the next triage
Milestone

Comments

@Syareel-Sukeri
Copy link
Contributor

Syareel-Sukeri commented Jul 4, 2024

.NET version

.NET 9.0: Main branch of WinForms repo (.NET 9.0.100-preview.7.24353.17)

Did it work in .NET Framework?

Not tested/verified

Did it work in any of the earlier releases of .NET Core or .NET 5+?

Yes, this is a regression issue. Not repro on .NET 9.0.0-preview.5.24306.7

Issue description

In DemoConsole test app of Winforms repo, undo process of deleting TableLayoutPanel contained TabControl does not work properly. TabControl disappears after clicking Undo a few times

TabControlTableLayout.mp4

Steps to reproduce

Test sample: DemoConsole in Winforms repo

More Info

  1. The issue cannot be reproduced when other controls are in the TableLayoutPanel.
  2. When moving controls within TableLayoutPanel and using undo, it takes up to 3 clicks to restore the original state.
UndoLocation.mp4
  1. Reproduce the same result when using Ctrl+Z to undo.
@Syareel-Sukeri Syareel-Sukeri added the untriaged The team needs to look at this issue in the next triage label Jul 4, 2024
@Syareel-Sukeri Syareel-Sukeri changed the title Deleted TableLayoutPanel contained TabControl cannot be undo in DemoConsole application Undo fails to restore deleted TabControl in TableLayoutPanel in DemoConsole application Jul 4, 2024
@Syareel-Sukeri Syareel-Sukeri changed the title Undo fails to restore deleted TabControl in TableLayoutPanel in DemoConsole application Undo fails to restore deleted TabControl and TableLayoutPanel in DemoConsole application Jul 4, 2024
@Syareel-Sukeri Syareel-Sukeri changed the title Undo fails to restore deleted TabControl and TableLayoutPanel in DemoConsole application Undo fails to restore deleted TabControl in TableLayoutPanel in DemoConsole application Jul 4, 2024
@Syareel-Sukeri Syareel-Sukeri added the 💥 regression-preview Regression from a preview release label Jul 4, 2024
@merriemcgaw merriemcgaw added this to the Future milestone Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥 regression-preview Regression from a preview release untriaged The team needs to look at this issue in the next triage
Projects
None yet
Development

No branches or pull requests

2 participants