To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product: PowerShell Studio 2021 (64 Bit)
Build: v5.8.192
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18363.0
*** Please add details and screenshots as needed below. ***
I am using a TableLayoutPanel to organize some text boxes. After moving/adding some textboxes in the TableLayoutPanel with a Copy/Paste, CTRL-Z, and CTRL-Y, errors are produced. The error(s) can prevent closure of PowerShell Studio (except with end task) which may end up causing data loss. I think it might just a problem with 'Undo' and 'Redo' overall. I reverted to 191 and had error messages when dealing with other controls and undo/redo.
Reproduce:
New Form
Add TableLayoutPanel
Add a Textbox
Copy/paste Textbox several times in the TableLayoutPanel
CTRL-Z a couple times
CTRL-Y a couple of times
May have to repeat the undo/redo to produce the errors
Errors:
Unhandeled Exception: Cannot access a disposed object.
Cannot remove the specified item because it was not found in the specified Collection.
Non-negative number required.
Parameter name: count
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
TableLayoutPanel (Possible Bug)
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: TableLayoutPanel (Possible Bug)
Thank you for reporting. I have been able to reproduce this behavior and have filed a bug report with the development team. I'll post here when I have an update.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: TableLayoutPanel (Possible Bug)
Please try service build 5.8.193 and let me know if this is still an issue for you.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.