Login  Register

Re: Why several ImageJ instances?

Posted by dscho on Feb 05, 2011; 9:26pm
URL: http://imagej.273.s1.nabble.com/Why-several-ImageJ-instances-tp3685782p3685785.html

Hi Norbert,

On Sat, 5 Feb 2011, Norbert Vischer wrote:

> Each time I double-click the ImageJ microscope icon, a new instance of
> ImageJ is opened, painting another ImageJ main window exactly on the top
> of the previous.

That is intended behavior.

> This is also true if I check Edit>Options>Misc..>Run Single Instance
> Listener.

That is a bug.

> I also wonder why the "Single Instance" checkbox is not on by default
> (so at least dragging an image onto the microscope icon would behave
> well).

The reason is that the single instance listener of ImageJ listens on
sockets not caring whether somebody connects to that socket from the same
computer or from Sidney, Australia.

I tried to fix this some time ago, and it is in ImageJA (where the
single-instance listener is on by default), but somehow it did not work on
Wayne's computer, so it never made it into ImageJ.

Ciao,
Johannes