Skip to content

Original ImageJ logic gets invoked in pure ImageJ2 GUI mode #311

@ctrueden

Description

@ctrueden

Launch ImageJ2 via:

mvn -Pexec -Dscijava.ui=swing

When the ImageJ2 GUI comes up, choose Process → Image Calculator... from the menu.

An original ImageJ dialog box appears with title "No Image" and message "There are no images open"

This is surprising—is the wrong "Image Calculator..." command executing? Or is ImageJ's active image logic being triggered indirectly somehow during execution of the ImageJ2 command net.imagej.plugins.commands.calculator.ImageCalculator? The menu item has the puzzle piece icon, indicating it's a SciJava/ImageJ2 command, so if the original ImageJ command is actually what runs when the menu item is clicked, that's 🤯. But it's also 🤯 if original ImageJ's active image logic is somehow triggering from the ImageJ2 command code... 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions