imagej / imagej/imagej2

List [of Overlay] Elements doesn't update automatically

Open
#270 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

When I add new overlay from ROI Manager, the list of overlay elements does **not** refresh to display the up to date list of elements.

# Steps to Reproduce

```
open("/path/to/image.tif");
roiManager("Open", "/path/to/roi.zip");
run("From ROI Manager");
run("List Elements");
run("From ROI Manager");
```

# Observed Result

Overlay Elements window doesn't list the new layers.

![observed](https://user-images.githubusercontent.com/1506457/102186952-4ffc3780-3eee-11eb-80db-59aad9b5b645.png)

# Expected Result/Output

Overlay Elements window lists the new layers.

![expected](https://user-images.githubusercontent.com/1506457/102186976-54c0eb80-3eee-11eb-8327-da1deb0777e3.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the provided ROI Manager and List Elements commands, then trace the Overlay Elements window's update path. Done means running From ROI Manager again refreshes the existing window so it lists the newly added overlay layers.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.