As far as I know you can not listen for DOM event using QWebElement. On Wed, Nov 3, 2010 at 4:44 PM, Xan Lopez <x...@gnome.org> wrote: > On Wed, Nov 3, 2010 at 1:20 PM, Fedor Kryukov <y...@mail.ru> wrote: >> >> Thanks, >> >> As I understand this is a WebkitGtk bug only? >> So I can temporarily switch to QT WebKit to avoid leaks? >> > > Possibly, but I don't know, you should ask them. > > Also, both bindings are not equally feature-complete (I believe in > general the GTK+ ones have more features), so you'll have to be > careful with that too. > > Xan > >> >> Xan Lopez-3 wrote: >>> >>> On Wed, Nov 3, 2010 at 7:52 AM, Fedor Kryukov <y...@mail.ru> wrote: >>>> >>>> After calling webkit_web_view_get_dom_document() and similar functions ( >>>> webkit_dom... * ) memory is not freed, what am I doing wrong? >>>> >>>> I wrote simple application which handle events ( >>>> load-started/load-finished/etc ) and make some changes in loaded page DOM >>>> content, so after loading several pages I have a lot of lost memory, no >>>> idea >>>> how to release it. >>>> >>>> I tried to use g_object_unref, but it destroys something.. >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/WebKitGtk-app-memory-leaks-%2C-please-help-tp30121202p30121202.html >>>> Sent from the Webkit mailing list archive at Nabble.com. >>> >>> The memory management of the GObject DOM bindings is still a work in >>> progress (unfortunately!). We are trying to figure the best to >>> automatically collect them, but for now you are correct in saying that >>> they are essentially "leaked" until the process is over. >>> >>> See https://bugs.webkit.org/show_bug.cgi?id=40302 for some discussion >>> on the topic. Our plan is to have this issue resolved before the next >>> stable release in April. >>> >>> Xan >>> >>>> >>>> _______________________________________________ >>>> webkit-dev mailing list >>>> webkit-dev@lists.webkit.org >>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >>>> >>> _______________________________________________ >>> webkit-dev mailing list >>> webkit-dev@lists.webkit.org >>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/WebKitGtk-app-memory-leaks-%2C-please-help-tp30121202p30126515.html >> Sent from the Webkit mailing list archive at Nabble.com. >> >> _______________________________________________ >> webkit-dev mailing list >> webkit-dev@lists.webkit.org >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >> > _______________________________________________ > webkit-dev mailing list > webkit-dev@lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >
-- --Antonio Gomes _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev