Igalia / cog

WPE launcher and webapp container
MIT License
237 stars 61 forks source link

Single-finger touch event not working in cog 0.18.4 on Debian bookworm [wpe webkit 2.38.6] #737

Open escherstair opened 2 weeks ago

escherstair commented 2 weeks ago

I have a Debian bookworm (stable) than runs on a NXP iMX8M-Plus, and I built cog by sources as suggested by @bertogg in issue #736. Now I have

cog --version
0.18.4 (WPE WebKit 2.38.6)

(cog:169): GLib-GObject-CRITICAL **: 20:42:30.266: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

I can see web pages, I can scroll with my finger, I can use a mouse (if connected), but single-finger touch doesn't work in a reliable way. I mean, it seems to me that sometime something happens (I see some visual "effects" on the item I touch), but my touch is not handled as a touch/click. I tried both with short touch and long touch, but nothing changes. Is this a known limitation?

bertogg commented 2 weeks ago

I cannot comment about this specific problem but if you want to run the latest cog in Debian stable consider building also the latest stable wpewebkit:

dget http://deb.debian.org/debian/pool/main/w/wpewebkit/wpewebkit_2.46.1-1.dsc
cd wpewebkit-2.46.1
sed -i 's/dpkg-dev[^,]*,//' debian/control
apt build-dep .
debian/rules binary