racket / racket/gui

Background expansion keybindings are not listed in the menu

Open
#305 0 comments 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

Version

Racket 8.9

Description

On Linux, the background expansion keybindings exist but are not listed in the keybindings window. These keybindings are listed on Mac.

Here is a list of missing keybindings:

  • Renaming: C-x m on Mac / ctrl-alt-x m on Linux.
  • Jump to previous/next bound occurrence: C-x p and C-x n on Mac / ctrl-alt-x p and ctrl-alt-x n on Linux
  • Jump to binding occurrence: C-x b on Mac / ctrl-alt-x b on Linux

Misc

It looks like this method removes quite some keybindings, but I don't understand why the C-x prefix becomes ctrl-alt-x on Linux and why they are absent.

https://github.com/racket/gui/blob/5f05558d0d26768f4dc378c680119f383ea03367/gui-lib/framework/private/keymap.rkt#L201-L205

https://github.com/racket/gui/blob/5f05558d0d26768f4dc378c680119f383ea03367/gui-lib/framework/private/keymap.rkt#L221-L225

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 with gui-lib/framework/private/keymap.rkt at the linked lines and compare the Linux and Mac background-expansion bindings. Check how the keybindings window obtains its entries. Done means the listed Linux bindings appear in that window consistently with the existing Mac entries.

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
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.