racket / racket/gui

get-key-release-code returns 'shift instead of 'rshift

Open
#236 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
68
Forks
82
PR merge metrics
No merged PRs in 30d

Description

When I press the right shift key, get-key-code produces 'rshift, but when I release the same key it produces 'shift. I think get-key-release-code should return 'rshift in this situation.

This is on Windows using DrRacket, version 8.0.0.11--2021-03-15(c0cfd32/a) [cs].

Possibly related to https://github.com/racket/gui/issues/91

Contributor guide

Open the contributing guide

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 by reproducing the Windows keyboard behavior in DrRacket, comparing get-key-code with get-key-release-code for the right Shift key. The issue is done when releasing right Shift returns 'rshift consistently, matching the press event; also review the related issue for context.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.