Re: [webkit-gtk] Ignoring form submission doesn't work in 2.14

2017-01-17 Thread Vasiliy Faronov
On Tue, Jan 17, 2017 at 10:06 PM, Carlos Alberto Lopez Perez wrote: > Try to export this environment variable before running you program: > > export WEBKIT_DISABLE_COMPOSITING_MODE=1 > > With it, I'm not longer able to reproduce the freeze on the UI. Works for me, too. Thank you! -- Vasiliy _

Re: [webkit-gtk] Ignoring form submission doesn't work in 2.14

2017-01-17 Thread Carlos Alberto Lopez Perez
On 13/01/17 14:10, Vasiliy Faronov wrote: > Hi, > > I have a Python program that uses WebKitGTK+ (via > GObject-Introspection) to create a WebView, populate it with an HTML > form, and handle submissions of that form. > > See: https://gist.github.com/vfaronov/f1c1faa969c58b5990d02f5d9890b180 > >

Re: [webkit-gtk] Ignoring form submission doesn't work in 2.14

2017-01-13 Thread Vasiliy Faronov
On Fri, Jan 13, 2017 at 7:39 PM, Michael Catanzaro wrote: > Do you just keep the references forever... so your program's > correctness depends on an intentional memory leak? Exactly. > Maybe this indicates that our forms API is insufficient. Perhaps. Ideally I'd want something like preventDefa

Re: [webkit-gtk] Ignoring form submission doesn't work in 2.14

2017-01-13 Thread Michael Catanzaro
I don't have an answer to your problem, but I did want to comment on this: On Fri, 2017-01-13 at 16:10 +0300, Vasiliy Faronov wrote: > To accomplish this, I keep references to the submission requests, as > suggested by the docs for the submit-form signal [1]. This works for > me with WebKitGTK+ 2.