Bug 243408

Summary: www/webkit2-gtk3: Multiple usability issues
Product: Ports & Packages Reporter: Sergey <kpect>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed Feedback Timeout    
Severity: Affects Some People CC: gnome
Priority: --- Keywords: needs-qa
Version: LatestFlags: koobs: maintainer-feedback? (gnome)
Hardware: amd64   
OS: Any   
Description Flags
Screenshots none

Description Sergey 2020-01-17 09:37:18 UTC
Created attachment 210813 [details]

Hello guys.
I've built webkit2-gtk3 + surf browser from ports, compilation finished successfully but I got several issues with it.

1. The screen sometimes become black (can bee seen on screenshot №1) when the mouse is moved away fwom the window, or it initially starts black, but ir the page is reloaded it become visible again.
2. Input (neither mouse not keyboad) is not working with pages, so you're not able to type text or click links/buttons, but if you relod the page with javascript disabled (CtrlShift+S), then you can type and click (can bee seen on screenshot №2).
3. When surf is being called with truss(can bee seen on screenshot №3), I can notice multiple "ERR#35 Resource temporarily unavailable" errors, which increase when I move mouse over the browser window.
4. When I click in browser window, I can see message pop ups in the terminal: "guint webkit_hit_test_result_get_context(WebKitHitTestResult *): assertion 'WEBKIT_IS_HIT_TEST_RESULT(hitTestResult)' failed" (can bee seen on screenshot №4).

Midori and Epiphany don't work either.
Has somebody faced these issues before?

Best regards,

$ make showconfig
===> The following configuration options are available for webkit2-gtk3-2.26.2:
DEBUG=off: Build with debugging support
GEOIP=on: GeoIP IP location support
WAYLAND=on: Wayland (graphics) support
===> Use 'make config' to modify these settings
$ uname -a
Comment 1 Sergey 2020-02-06 06:38:43 UTC
Looks like it's a long living issue, I have same problem with Javascript:
Comment 2 Sergey 2020-02-24 09:35:44 UTC
I've moved to the latest stable code (http://ftp2.ru.freebsd.org/pub/FreeBSD/snapshots/amd64/12.1-STABLE/)
and all of a sudden webkit2-gtk3 started to work correctly, I can type inside web pages without disabling javascript; though kernel size increased dramatically, don't know why.
Nontheless I was not able to view videos on youtube. I've found a proposal somewhere on FreeBSD forum to disable GLES2 on Webkit2-gkt3; I did that but it stll linked against this library, so I had to look for the ways to disable it everywhere. I'vre rebuilt mesa-libs, gstreamer1-pligins, gstreamer1-plugins-gl with gles2 disabled and opengl enabled, after that I was able to watch youtube videos.
But I still not able to change video playback speed of youtube player.
Also if I install gstreamer1-vaapi (on Thinkpad T430) it crashed with segfault.
Best regards,