Hey Matthew,

On Sat, 3 Oct, 2015 at 11:30 AM, Matthew Watson <mattdang...@gmail.com> wrote:
We also tried increasing the webview height so it would not need a scroll, but some of our article content is really big. And trying to make a webview with 30,000+ pixels in height was causing some fun X errors.

This gist is the best we ended up coming up with
https://gist.github.com/mattdangerw/df1c737acf403b8e7799

This registers a webkit plugin to spy on a divs dimensions, and signals the UI process through dbus. It performs pretty well for scrolling, with only occasional slippage. Re-sizing is another story and the gtk widget obviously lags behind the web content. Especially when the web content reflows on the page. If anyone has ideas there, we are all ears!

Did you work out a better solution for this in the end?

I'm getting an occasional Geary crash from a bug[0] in WebKit1 that was understandably marked won't-fix, but it was pointed out that using such an old, unsupported version of WebKit is something of a security problem. So moving Geary to WebKit2 seems like a reasonably good idea, but is obviously going to encounter the same issue you did.

Here's hoping. :)

//Mike

[0] - https://bugs.webkit.org/show_bug.cgi?id=150588

--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>


_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to