Ticket #732 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Some KeyEvents are getting lost

Reported by: bdezonia Owned by: gharris
Priority: major Milestone: imagej-2.0-alpha5
Component: Event Framework Version:
Severity: serious Keywords:
Cc: Blocked By:


When you run animations (from the NEW Image :: Stacks :: Tools :: Start Animation command) you should be able to terminate them by pressing ESC. However they never terminate. I have used the debugger to verify that the Animator::onEvent(KyPressedEvent) is never getting called. Its like at the outermost UI level we are not seeing a key was pressed and thus never adding the events to the EventBus.

Grant I know you made changes to the event handling with the display refactoring. Could you look at this and perhaps address before the alpha5 release this week?

Change History

comment:1 Changed 9 years ago by gharris

  • Status changed from new to closed
  • Resolution set to fixed

I created AWTKeyEventDispatcherGlobal which intercepts all keystrokes in the SystemEventQueue and emits/publishs new KyEvents on the EventBus, using the currently selected ImageDisplay as the display in the KyEvent.

  • GBH

See e329a0b90368736d7f8aa20b9227f186f65642d0, 72561c1b345be439104642cd528feabfc529f73e.

Note: See TracTickets for help on using tickets.