> On May 29, 2024, at 10:06 PM, Fred Damen <[email protected]> wrote:
> 
> Greetings,
> 
> I recently upgraded the OS and ImageJ, so now I seem to have a race
> condition.

Hi Fred,

Please provide a minimal plugin that reproduces this problem. 

-wayne

> I open several images from a plugin and resize the imagewindow immediately.
> essentially but not really
> for(...) {
>  ImagePlus imp = create();
>  imp.show();
>  Zoom.set(imp,n);
>  }
> 
> Usually one of the images shows and the rest can not be shown, that is,
> selecting the imagewindow from the Window menu or through the OS window
> manager the imagewindow is not shown. Most manipulation of the window size
> does not seem to work. Image/Zoom/View 100% will show the window and any
> further change to the window size occurs as expected. Placing a
> IJ.wait(1000) between show and zoom above causes the windows to appear as
> expected.
> 
> I ran the plugin in question with n set to 1 and the one of the
> imagewindow(s) appeared at the appropriate window size but with out an
> image displayed within it. Image/Show info... shows
> Magnification: -9.00
> 
> Is there a way to set the initial zoom so that the show displays the
> imagewindow at this initial zoom level?
> 
> Thanks for listening,
> 
> Fred

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

Reply via email to