webview / webview_go

Go language bindings for the webview library.
MIT License
176 stars 27 forks source link

example appears as blank #22

Closed quinn closed 6 months ago

quinn commented 6 months ago

when i run the example i get this:

image

I can sort-of drag the text around and see it in the drag. can't really get a screenshot of that, but it shows the content is loading (and if i click in the right place, it increments). But nothing is visible.

quinn commented 6 months ago

I get the deprecation warning talked about elsewhere, and I also get this:

Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 480x320: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 480x320: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 480x320: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1

Another thing worth noting. pkg-config could not find gtk, so I had to add this env var:

PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig

For some reason packages got installed into /usr/lib/x86_64-linux-gnu/pkgconfig which my pkg-config isn't checking. I'm due for a reformat/reinstall, so this could be a me problem

SteffenL commented 6 months ago

Thanks for the report. I'll close this because it appears to be the same issue as reported here: https://github.com/webview/webview/issues/1055

If it's the same issue then it would be great if you could add some details about your system.