racket / racket/racket

DrRacket error when clicking menus on 5k monitor.

Open
#5,426 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
5.2k
Forks
698
Avg merge
18h 34m
Merged PRs (30d)
5

Description

What version of Racket are you using?
e.g., 7.7 [cs]

Welcome to DrRacket, version 9.0 [cs].

What program did you run?
Please include a short example that triggers the bug

Click any menu in DrRacket.

What should have happened?

No Error dialog

If you got an error message, please include it here.

screen->client in window<%>: contract violation
expected: (integer-in -1000000 1000000)
given: -8388608
context...:
/home/erucker/racket/share/pkgs/gui-lib/mred/private/lock.rkt:43:38
/home/erucker/racket/collects/racket/private/more-scheme.rkt:266:2: call-with-exception-handler
/home/erucker/racket/share/pkgs/drracket-core-lib/drracket/private/syncheck/gui.rkt:1462:12: syncheck:update-drawn-arrows method in ...ate/syncheck/gui.rkt:405:10
/home/erucker/racket/share/pkgs/drracket-core-lib/drracket/private/syncheck/gui.rkt:2181:8: on-activate method in unit-frame-mixin
/home/erucker/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:436:6
/home/erucker/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:487:32
/home/erucker/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:639:3

Please include any other relevant details
e.g., the operating system used or how you are running the code.

Running on Ubuntu 25.10 with a 5k monitor.

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

Reproduce the error by clicking a DrRacket menu on Ubuntu 25.10 with a 5k monitor. Start with gui-lib/mred/private/lock.rkt at line 43 and drracket-core-lib/drracket/private/syncheck/gui.rkt at line 1462, following the reported screen->client contract violation. Done means menu clicks no longer show an Error dialog.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.