Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Ian Mitchell on March 16, 2023, 04:32:33 am

Title: ShowInProjectView seems to close my Addin windows
Post by: Ian Mitchell on March 16, 2023, 04:32:33 am
This may be a feature, a bug, or my bad coding, but every time I call Repository.ShowInProjectView, all of my EA addin windows get closed.
EA 16.1, 64 bit.
Is this the expected behaviour ?
Title: Re: ShowInProjectView seems to close my Addin windows
Post by: Geert Bellekens on March 16, 2023, 04:04:12 pm
This may be a feature, a bug, or my bad coding, but every time I call Repository.ShowInProjectView, all of my EA addin windows get closed.
EA 16.1, 64 bit.
Is this the expected behaviour ?
You mean like popup's? Or windows in the main view or add-in window space?
The latter definitely works for me. I haven't tested this situation from a popup window.

Geert
Title: Re: ShowInProjectView seems to close my Addin windows
Post by: Ian Mitchell on March 16, 2023, 09:14:06 pm
I've started to use EA 'addins' windows for some of my products, as it allows the user to move the windows around. Drawback is the lack of control.
Title: Re: ShowInProjectView seems to close my Addin windows
Post by: Ian Mitchell on March 21, 2023, 08:14:24 pm
It seems that, as soon as the user clicks on any element in any diagram (which puts the properties of that element into the current properties window) then the 'Addins' window goes away.
@Sparx - is this the expected behaviour ?
Title: Re: ShowInProjectView seems to close my Addin windows
Post by: Geert Bellekens on March 21, 2023, 09:32:35 pm
It seems that, as soon as the user clicks on any element in any diagram (which puts the properties of that element into the current properties window) then the 'Addins' window goes away.
@Sparx - is this the expected behaviour ?
Ian, did you dock the add-ins window (at a different location as the properties window)?
I use this add-in window all the time, and it stays visible regardless of what a user does.

But the window has to be docked (not floating)

Geert
Title: Re: ShowInProjectView seems to close my Addin windows
Post by: Ian Mitchell on March 23, 2023, 08:01:35 pm
I'm finding it hard to create a consistent test case for this. I've raised it as a bug to Sparx, but i'm not 100% convinced it really is a bug. Programmer error ?