racket/gui

When I Alt+Tab away from and back to DrRacket with a file dialog opened, the main window is focussed

rrthomas opened this issue · 2 comments

What version of Racket are you using?
8.5 [cs]

What program did you run?

  1. Ensure some application other than DrRacket is open.
  2. Start DrRacket.
  3. File→Open. The file dialog is now focussed.
  4. Press Alt+Tab. Another application is now focussed.
  5. Press Alt+Tab. DrRacket is focussed, but the main window, not the file dialog.

What should have happened?
In Step 5, the file dialog should be focussed. If I repeat the steps above with GEdit instead of DrRacket, I get the expected behaviour.

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

I am using Racket from the PPA on Ubuntu GNOME 22.04.

I can't reproduce the problem on Mac. It could be that this is a Linux-specific problem.

I also can't reproduce on Windows (Racket 8.9 bc)