-
Notifications
You must be signed in to change notification settings - Fork 3
Description
DrRacket does not open. I noticed there's already a separate issue report for the problem, but it was already resolved & closed.
Running
flatpak run org.racket_lang.Racket
in Fedora Kinoite 40 KDE Plasma (Wayland) session, in Konsole, produces
Gdk: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW (window)' failed
Window->C: argument is not non-null `Window' pointer
argument: #f
context...:
/app/share/racket/pkgs/gui-lib/mred/private/wx/gtk/dc.rkt:56:2
/app/share/racket/collects/racket/private/class-internal.rkt:3655:0: continue-make-object
/app/share/racket/collects/racket/private/class-internal.rkt:3629:0: do-make-object/real-class
/app/share/racket/pkgs/gui-lib/framework/splash.rkt:196:3
/app/share/racket/pkgs/gui-lib/framework/splash.rkt:76:5
/app/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:436:6
/app/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:487:32
/app/share/racket/collects/racket/private/more-scheme.rkt:148:2: call-with-break-parameterization
/app/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:371:11: eventspace-handler-thread-proc
No loading splash nor any other windows opened. I quite soon stopped the process with Ctrl-C:
^Cuser break
context...:
/app/share/racket/collects/racket/contract/private/arrow-val-first.rkt:555:3
body of "/app/share/racket/pkgs/drracket/drracket/private/drracket-normal.rkt"
body of "/app/share/racket/pkgs/drracket/drracket/drracket.rkt"
I then opened KDE Settings / Flatpak-permissions and disabled permission to use Wayland. Next I retried the flatpak command above, and the DrRacket loading splash screen opened instantly and the program advanced to the main window shortly after. It would seem the GUI framework used does not like Wayland.