Dockable Panes Duplicating in 2019

Dockable Panes Duplicating in 2019

swfaust
Advocate Advocate
2,804 Views
20 Replies
Message 1 of 21

Dockable Panes Duplicating in 2019

swfaust
Advocate
Advocate

I have an application that uses a dockable pane and I think there is a bug in 2019.  I haven't been able to reproduce it but I have several users that have said they get this behavior.  When switching projects and windows (seemingly intermittently) they get extra copies of the dockable pane for my application.  When this happens it eventually leads to a Revit crash.

 

My question is how we go about debugging this or finding it.  I only use 'RegisterDockablePane' one time in the code and it's in the applications 'OnStartup' method.  Everywhere else I reference the pane by ID and use the hide and show methods on the returned pane.  As far as I'm aware it shouldn't be possible to have multiple copies of the same pane correct?  I have only had this reported in 2019, the code for the pane has been the same for several years and I haven't ever had a report of this in other versions...

 

Has anyone else experienced this or had it reported?

0 Likes
Accepted solutions (1)
2,805 Views
20 Replies
Replies (20)
Message 21 of 21

swfaust
Advocate
Advocate

Great, thank you much for the confirmation!

0 Likes