Posted by
Stein Rørvik on
Oct 27, 2020; 12:29am
URL: http://imagej.273.s1.nabble.com/Bugs-in-the-Window-menu-tp5024099p5024122.html
Thanks, works fine!
BTW, there is another issue with such folders imported as image sequence:
getDirectory("image") and Image → Show Info both correctly reports the image directory as the pathname.
But the File → Show Folder → Image does not work, it just gives the error message "Image not found". It would be useful if this command would open the same path name as getDirectory("image") returns.
Stein
-----Original Message-----
From: ImageJ Interest Group <
[hidden email]> On Behalf Of Wayne Rasband
Sent: 26. oktober 2020 18:22
To:
[hidden email]
Subject: Re: Bugs in the Window menu
> On Oct 22, 2020, at 2:39 PM, Stein Rørvik <
[hidden email]> wrote:
>
> There has for a long time been a bug in the Window menu that sometimes causes the wrong image to be selected when selecting an image name from the dropdown, but I have not been able to reproduce it earlier as it depends on the order of window opening and closing. But today I found a simple way to reproduce the issue:
This bug is fixed in the ImageJ 1.53g1 daily build.
-wayne
> dir = "C:/Users/steinr/Temp/t1-head/"; run("Close All"); run("Image
> Sequence...", "open=&dir sort"); rename("t1-head"); run("Image
> Sequence...", "open=&dir sort"); rename("t2-head"); run("Image
> Sequence...", "open=&dir sort"); rename("t3-head"); run("Image
> Sequence...", "open=&dir sort"); rename("t4-head");
>
> Selecting the first image on the list selects the first window, but the window title entries in the Window menu is in the wrong order; "t1-head" is at the bottom of the list.
>
> This bug has been there for a couple of years; I reverted to earlier versions and found that this was working in 1.52e and fails in 1.52f.
>
> Another bug is that if a plugin should happen to install an entry to the Window menu, the plugin entry appears as expected before the list of open images, but the image titles in the menu do not match the corresponding image window. Probably the building of the window menu list forgets to take into account the possibility of extra menu entries already there. This bug does not occur in Fiji.
>
> Stein
>
> --
> ImageJ mailing list:
>
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimage> j.nih.gov%2Fij%2Flist.html&data=04%7C01%7Cstein.rorvik%40sintef.no
> %7C35c29bd0dac64fb8459608d879d42c70%7Ce1f00f39604145b0b309e0210d8b32af
> %7C1%7C0%7C637393299469258913%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
> MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ir
> M4vEnOhzZR5YpoGT%2FtejC8nNJz5VFz4KRrRbd9EBg%3D&reserved=0
--
ImageJ mailing list:
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.nih.gov%2Fij%2Flist.html&data=04%7C01%7Cstein.rorvik%40sintef.no%7C35c29bd0dac64fb8459608d879d42c70%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637393299469258913%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=irM4vEnOhzZR5YpoGT%2FtejC8nNJz5VFz4KRrRbd9EBg%3D&reserved=0--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html