Login  Register

Re: ImageJ release cycle

Posted by dscho on Jun 04, 2013; 9:49pm
URL: http://imagej.273.s1.nabble.com/ImageJ-release-cycle-tp5003165p5003226.html

Dear Wayne,

On Tue, 4 Jun 2013, Rasband, Wayne (NIH/NIMH) [E] wrote:

> On Jun 4, 2013, at 4:53 PM, Johannes Schindelin wrote:
>
> > On Tue, 4 Jun 2013, Rasband, Wayne (NIH/NIMH) [E] wrote:
> >
> >> On Jun 4, 2013, at 1:49 PM, Johannes Schindelin wrote:
> >>
> >>>> The releases for Windows and Linux look good! I tested them and
> >>>> found only one problem. The "Enable single instance listener"
> >>>> option in Edit>Options>Misc is ignored on bother Windows and Linux.
> >>>> You get a new ImageJ instance each time you run the launcher.
> >>>
> >>> That's too bad. I did not yet have time to look into this. Probably
> >>> renaming the launcher to 'debug' will yield some helpful output,
> >>> right?
> >>
> >> This turned out to be a bug in the OtherInstance.sendArguments()
> >> method.  It only checked for other instances when at least one
> >> argument was passed to ImageJ. The fix is in the ImageJ 1.47t3 daily
> >> build.
> >
> > That's too bad: I inspected the fix and found that it reverts the
> > functionality I carefully put into the OtherInstance class: when
> > started without parameters, it is surprising to users when ImageJ just
> > quits. In fact, it was an explicit request of a user back when I
> > worked in Dresden.
>
> I could remove this fix if the launcher always passed at least one
> argument to ImageJ. The old Pascal Windows launcher must do this because
> the "Enable single instance listener" option works as expected on
> Windows.

Sorry, I should have been more clear. Users calling the ImageJ launcher
without arguments expected a second instance to appear. The change you
made breaks that expectation from 1.47t3 on.

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html