scijava-common icon indicating copy to clipboard operation
scijava-common copied to clipboard

Accelerator mistakenly works with 0 but not NUM0

Open hinerm opened this issue 2 months ago • 2 comments

Accelerator is tied to KeyCode. When writing accelerators with number (non-keypad) shortcuts we should be using NUM0, etc.

However, in practice, these shortcuts do not actually work. But accelerators without the num do work, e.g. ctrl 0. However, they do not display correctly in the search and are not the intended behavior.

See https://github.com/scijava/scijava-search/issues/34 for some examples.

My guess is there is a problem in the event framework that is not translating 0 to NUM0 when pressed?

hinerm avatar Nov 04 '25 18:11 hinerm