racket / drracket

DrRacket, IDE for Racket
http://www.racket-lang.org/
Other
452 stars 94 forks source link

DrRacket Debug Step click requires leaving and re-entering bar to act on subsequent click #472

Closed maueroats closed 3 years ago

maueroats commented 3 years ago

Version

Racket 8.0 [cs]

Platform: observed on Linux, Mac OS.

Steps to reproduce

  1. Begin with a program with at least two steps.

    #lang racket
    (+ 1 2)
  2. Hit the "Debug" button.

  3. Click step with the mouse.

  4. Without leaving the bar that contains the debug button, click it more times. Notice that subsequent clicks have no effect.

  5. Leave the bar and re-enter (this step works even if you perform no mouse activity other than motion)

  6. Click on the step button. Notice that it responds.

Side note: the button is not on a darker gray background ("lit up"?) when it is not responding to clicks. The background gets a darker gray when you leave the bar and hover over it again.

The program above takes me 4 clicks to complete.

Expected Behavior

Every click on the Step button advances one step.

sorawee commented 3 years ago

This is a duplicate of #470. It will be fixed in Racket 8.1. If you can't wait, you can also download a snapshot version (http://snapshot.racket-lang.org/) now.

maueroats commented 3 years ago

TIL, have to check closed issues as well as open ones.