[ImageJ-bugs] [Bug 857] Stack Dump window appears on play image stack
bugzilla at fiji.sc
bugzilla at fiji.sc
Fri Jul 18 12:34:50 CDT 2014
http://fiji.sc/bugzilla/show_bug.cgi?id=857
Johannes Schindelin <johannes.schindelin at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |johannes.schindelin at gmx.de
--- Comment #2 from Johannes Schindelin <johannes.schindelin at gmx.de> ---
I believe the culprit lies in
https://github.com/imagej/imagej-legacy/blob/daf71a07afe0bdbc02d3294665c290e8e75912b9/src/main/java/net/imagej/legacy/DefaultLegacyHooks.java#L468-L469
There are two problems:
* imagej-legacy it intercepts, but somehow ImageJ 1.x does not get the message
that it should not continue to process key events, and then goes on to handle
'\'.
* imagej-legacy does not know about the '\' shortcut, so it tries to handle
that one first, sees nothing to handle that shortcut, and DWIMs a Control key.
The solution for this bug (and the second bullet point) is to register a dummy
handler in the legacy service. This is proper because imagej-legacy needs to
bend over to work around ImageJ 1.x' limitations, including knowing about
pre-existing keyboard shortcuts.
That does not address the first bullet point, though, and if (and when) it is
addressed, the dummy shortcut actually needs to call
doCommand("Start Animation [\\]");
itself.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20140718/54f84821/attachment.html>
More information about the Imagej-bugs
mailing list