TableLayoutPanel (Possible Bug)

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
User avatar
elation
Posts: 25
Last visit: Sat Oct 23, 2021 9:12 am
Has voted: 1 time

TableLayoutPanel (Possible Bug)

Post by elation »

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

User avatar
brittneyr
Site Admin
Posts: 921
Last visit: Thu Dec 02, 2021 11:28 am
Answers: 21
Been upvoted: 17 times

Re: TableLayoutPanel (Possible Bug)

Post by brittneyr »

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 Ryn
SAPIEN Technologies, Inc.

User avatar
brittneyr
Site Admin
Posts: 921
Last visit: Thu Dec 02, 2021 11:28 am
Answers: 21
Been upvoted: 17 times

Re: TableLayoutPanel (Possible Bug)

Post by brittneyr »

Please try service build 5.8.193 and let me know if this is still an issue for you.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
elation
Posts: 25
Last visit: Sat Oct 23, 2021 9:12 am
Has voted: 1 time

Re: TableLayoutPanel (Possible Bug)

Post by elation »

brittneyr wrote:
Thu Aug 26, 2021 7:19 am
Please try service build 5.8.193 and let me know if this is still an issue for you.
Working well now - Thank you for the quick turn-around!