Closed MaxLeiter closed 7 years ago
Thanks for the report, @MaxLeiter. /cc @rasband since this is a question about ImageJ 1.x.
I believe the issue is here: https://github.com/imagej/ImageJA/blob/f940bc2910de7339589ef102309781f74a30db27/src/main/java/ij/gui/Roi.java
The constructors should probably notifyListeners(RoiListener.CREATED)
This bug is fixed in the latest ImageJ daily build (1.51q5). View the changes at https://github.com/imagej/imagej1/commits.
code example: this is also present in the example EventListener plugin: https://raw.githubusercontent.com/imagej/ImageJA/ac7c554675133443b9e3d3883c5d727049c9d857/src/main/java/ij/plugin/EventListener.java
MODIFIED is fired correctly, however CREATED never is. Apologies if this is my mistake.