racket / racket/drracket

AltGr + q does not insert /

Open
#393 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

Using Windows 10 and pressing AltGr + q inserts / in any application, except in DrRacket where it triggers undo.

On Linux AltGr + q works fine on DrRacket and inserts /.

Here is the output of running https://github.com/racket/gui/blob/master/gui-test/tests/gracket/showkey.rkt on Windows 10 and pressing AltGr+q

1 KEY: control
  rel-code: press
  other-codes: (#f #f #f #f)
  mods: CTL
2 KEY: menu
  rel-code: press
  other-codes: (#f #f #f #f)
  mods: META CTL = ALTGR
3 KEY: "/" = ASCII 47
  rel-code: press
  other-codes: (#f "q" = ASCII 113 "Q" = ASCII 81 #f)
  mods: META CTL = ALTGR
4 KEY: release
  rel-code: "q" = ASCII 113
  other-codes: ("Q" = ASCII 81 "/" = ASCII 47 #f #f)
  mods: META CTL = ALTGR
5 KEY: release
  rel-code: menu
  other-codes: (#f #f #f #f)
  mods:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with gui-test/tests/gracket/showkey.rkt and reproduce the reported AltGr+q event sequence on Windows 10. Trace how DrRacket handles the control and menu key events, then verify that AltGr+q inserts / instead of triggering undo.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.