racket / racket/htdp

Canvas window cannot be closed with keyboard on OS X

Open
#5 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
Racket
Stars
112
Forks
73
Avg merge
9h 41m
Merged PRs (30d)
1

Description

I am reading through HtDP/2e and find it annoying that pressing Cmd+W or Esc can't close the canvas windows that appears while using the animate from 2htdp/universe. Cmd+Q, of course, tries to close the whole DrRacket IDE. The only way it seems is to use the mouse pointer to press the red close button.

(previously reported as https://github.com/racket/drracket/issues/6)

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 by reproducing the issue on OS X with animate from 2htdp/universe, using both Cmd+W and Esc on the canvas window. Trace the canvas-window behavior in the relevant HtDP or DrRacket code; done means either key closes the canvas without closing the IDE, matching the existing mouse close behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
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.