[webkit-gtk] WebKitWebView initial viewport size

Michael Gratton mike at vee.net
Thu Oct 22 15:22:43 PDT 2020

Anyone have any suggestions about this?

On Fri, 16 Oct, 2020 at 09:16, Michael Gratton <mike at vee.net> wrote:
> Hi all,
> I'm trying to fix <https://gitlab.gnome.org/GNOME/geary/-/issues/283> 
> yet again and think I have tracked down the problem to the web 
> process's viewport size being 0px x 0px when an email body is being 
> loaded into a WebKitWebView, possibly when the WebKitWebView widget 
> is either hidden or still being laid out by the widget hierarchy.
> Can anyone say at what stage the web process's viewport size gets 
> updated? Is there any way to influence it so that the width at least 
> is valid, without resorting to hacks like generating and injecting 
> custom CSS based on the parent widget's size?
> Thanks,
> //Mike
> --
> Michael Gratton.
> <https://mjog.vee.net>
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk

Michael Gratton.

More information about the webkit-gtk mailing list