atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.8k stars 409 forks source link

Desmos graphing calculator unresponsive #3275

Closed freddyholms closed 9 months ago

freddyholms commented 9 months ago

Describe the bug On a fresh nyxt build, the desmos graphing calculator becomes unresponsive. Typing anything into the textboxes or clicking around on buttons does nothing. Activating passthrough-mode is also ineffective. When typing C-space, however, I see the keystrokes I tried typing into the formula area when desmos was unresponsive. I have no issues on Firefox or even on the emacs xwidget integrated browser.

Precise recipe to reproduce the issue This is the Dockerfile I used to build nyxt

FROM docker.io/archlinux/archlinux:latest

RUN pacman -Sy --noconfirm git \
           sbcl \
       webkit2gtk \
       gobject-introspection \
       glib-networking \
       gsettings-desktop-schemas \
       enchant \
       libfixposix \
       gcc \
       pkg-config \
       gst-libav \
       gst-plugins-base \
       gst-plugins-good \
       gst-plugins-bad \
       gst-plugins-ugly \
       jack2 \
       wl-clipboard \
       ttf-dejavu \
       make && \
    mkdir -p /root/common-lisp && \
    git clone --recurse-submodules https://github.com/atlas-engineer/nyxt /root/common-lisp/nyxt

WORKDIR /root/common-lisp/nyxt

RUN make all

EXPOSE 4006

CMD /root/common-lisp/nyxt/nyxt

I run the container with

podman run -it -d -v $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY:/tmp/$WAYLAND_DISPLAY:ro \
-e MOZ_ENABLE_WAYLAND=1 \
-e XDG_SESSION_TYPE=wayland \
-e GDK_BACKEND=wayland \
-e QT_QPA_PLATFORM=wayland \
-e XDG_RUNTIME_DIR=/run/user/1000 \
-e WAYLAND_DISPLAY=$WAYLAND_DISPLAY \
-e PULSE_SERVER=/run/user/1000/pulse/native \
-v /run/user/1000:/run/user/1000 \
-v /home/<USER>/share-podman:/home \
-v /mnt:/mnt \
--name nyxt -p 4005:4006 --device /dev/dri -v /dev:/dev nyxt

Information

ASDF version: 3.3.1 ASDF registries: (NYXT-SOURCE-REGISTRY ENVIRONMENT-SOURCE-REGISTRY) Critical dependencies: (/root/common-lisp/nyxt/_build/cl-cffi-gtk/gtk/cl-cffi-gtk.asd /root/common-lisp/nyxt/_build/cl-gobject-introspection/cl-gobject-introspection.asd /root/common-lisp/nyxt/_build/cl-webkit/webkit2/cl-webkit2.asd)

aadcg commented 9 months ago

I can reproduce it on Epiphany meaning that this it is due to WebKitGTK.

We're working on a new Chrome-based port. See #2989.