I've encountered the exact same issue, but the sample link is not working. Could it be reposted?
Hi Keith Sanker,
Sorry for the delay in getting back to you.
We can be able to reproduce the issue from our end. We will check and update you on or before 24th May 2023. We appreciate your patience until then.
Regards,
Bagavathi Perumal A
Hi Keith Sanker,
We have confirmed the reported scenario is a defect and logged a report for the reported scenario “The NullReferenceException was thrown when changing the SetDockVisibility() within the DockStateChanging event”. We will provide the fix in the Weekly NuGet release on 20th June 2023.
You can track the status of this defect using the following feedback link: NullReferenceException was thrown when changing the SetDockVisibility() in DockStateChanging event in WinForms | Feedback Portal (syncfusion.com)
If you have any more specification replication procedures or a scenario to be tested, you can add it as a comment in the portal.
Please let us know if you need any further assistance.
Note: The provided feedback link is private, and you need to log in to view this feedback.
Regards,
Bagavathi Perumal A
Thank you for the Update.
I get an Access Denied error when trying to access the Feedback links, but here's the secenario:
Some additional background: I created an App with 3 gradient panel
docking
windows. I clicked the autohide on one of them ("Filters") and it looks like this:
I then exit the application. The dockingmanager is using the persiststate true. When I restart the app I get this screen:
I would have expected the autohidden window("Filters") would have showed on the side like before since the persist state is on, but it does not. I'm not sure if that's a problem or not, but I don't know why that is.
I run into the null pointer exception when I click a button that sets the visibility of the "Filters" docking window to true. It also happens if it try to set it to false.
Hi Keith Sanker,
We have provided access to the feedback link to your credentials. So, please try clearing the cache and using an incognito window. Currently, we are validating reported issue. We will validate and update you on or before 30th May 2023.
Regards,
Bagavathi Perumal A
Hi Keith Sanker,
We are unable to reproduce the reported issue from our end. Please refer to the attached sample and video for your reference.
Could you please share the following details
Regards,
Bagavathi Perumal A
When I cleared cache and Isolated storage, the problem I had with auto-hidden windows not showing after restarting is resolved.
The only issue is then setting document visibility for an autohidden docking window.
I note the fix ticket, 43977, makes it sound like this only occurs in the DockStateChanging event. It seems to occur when SetDockVisibility() is called from anywhere, like a toolbar button click event.
Thanks
Hi Keith Sanker,
We are unable to reproduce the reported issue from our end. Please refer to the attached sample and video for your reference. The fix will resolve your reported issue.
Could you please share the following details. It would be helpful for us to analyze and provide you with a prompt solution.
Regards,
Bagavathi Perumal A
Well, I updated to 21.2.8 and now am unable to to get it to fail.
If the problem returns, I will provide additional details.
Thank