Glitch with Command Finder tooltips

Thanks to @tferr, the Command Finder in recent versions of ImageJ added a slick tooltip feature.

However, after 19 uses, the Command Finder now glitches out with the error:

java.lang.IllegalArgumentException: Invalid initial delay: -100663296
	at javax.swing.Timer.setInitialDelay(
	at javax.swing.ToolTipManager.setDismissDelay(
	at ij.IJ.runPlugIn(
	at ij.Executer.runCommand(

And henceforth, the Command Finder will not appear until ImageJ is restarted.

The problem is that the tooltip delays repeatedly double until integer overflow occurs.

@Wayne Would you please fix this bug? I love the Command Finder so much, and am sad when it dies! :blush:

1 Like

Not so slick it after all. I actually find the tooltips quite annoying, I just thought it would help to document the keystroke auto-scrolling feature, hence the compromise on delaying them. Also, I just found another bug when running IJ on ubuntu (virtual machine) that the tooltips can be displayed even when one mouse overs another window displayed above the Command Finder frame.
@wayne, I would just remove the tooltips altogether. If you want, as an alternative, we could use a “Help” button of sorts (or just forget about it)…

The latest daily build (1.51b3) replaces the tooltips with a “Help” button.


Thank you very much!