GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Accelerator mistakenly works with 0 but not NUM0 · Issue #486 · scijava/scijava-common

Accelerator mistakenly works with 0 but not NUM0 #486

New issue
Copy link
New issue
Copy link
Open
Open
Accelerator mistakenly works with 0 but not NUM0#486
Copy link
Labels
bug

Description

@hinerm
hinerm
opened on Nov 4, 2025
Issue body actions

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 scijava/scijava-search#34 for some examples.

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

Activity

  1. hinerm
    added
    bug
    on Nov 4, 2025
  2. hinerm
    added a commit that references this issue on Nov 4, 2025

    Change shortcut to ctrl 0

    eaaa8b4
  3. ctrueden commented on Nov 4, 2025

    @ctrueden
    ctrueden
    on Nov 4, 2025
    Member
    More actions

    With 0788f72, we are now unit testing Accelerator, notably the create method. All seems to be working correctly at this layer. I suspect a problem in the scijava-ui-awt code with how actual keystrokes are being mapped to scijava-common's UI-agnostic data structures.

  4. ctrueden commented on Nov 5, 2025

    @ctrueden
    ctrueden
    on Nov 5, 2025
    Member
    More actions

    With scijava/scijava-ui-awt@c793026, there's a down-the-middle unit test of the AWTInputEventDispatcher. All is working, at least on macOS and Linux.

  5. hinerm
    added a commit that references this issue on Nov 13, 2025

    Change shortcut to ctrl 0

    acd144a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.