Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 41228 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
I can run webkit-sharp + gtk-sharp directly, and it works correctly. However, I'd like the SWF WebBrowser code to work correctly, for porting some existing windows-centric code.
I am able to run the SWF WebBrowser code through mono-webbrowser (as in
perhaps it is easier to show the figures - here is the slides of a talk I gave recently.
page 28-32 shows how the embedded web browser looks like under wine + dotnet2 + ie8. Page 35-38 shows how it looks with linux + mono SWF + mono-webbrowser .
But you could run the much simplier example in https://bugzilla.xamarin.com/show_bug.cgi?id=4155#c3 , and even interactively, to see the result.
I am also curious if mono-webbrowser ever shows this problem in 2008(?) - it seems to be quite an obvious issue - losing all layouts + colors - if it did happen then, so this is probably a regression.
Would have liked to file at https://github.com/mono/mono-webbrowser except there is no issue tab there. It seems to be a problem between mono's SWF and mono-webbrowser .
I am tempted to have a go at resurrecting libgluezilla to figure this out...
The mono-webbrowser code base is quite small, and I have been wondering where the color and layout info is being lost. mono-webbrowser/mono-webkit/XEvent.cs seems to be a subset of mono/mcs/class/System.Windows.Forms/System.Windows.Forms/X11Structs.cs , so my guess at the moment is either the gdk part, of webkit itself actually tries to see what surface it is being drawn in and renders differently because it guesses the rendering surface's capability wrong.
besides rendering target, I wonder if it is a matter of interrupted rendering - i.e. the outcome seen is an intermediate state.
Difficult to tell, but 'display the Google home page as html' in
back in 2010 perhaps means the same thing as 'loses all html colors/layouts'.
Created attachment 16117 [details]
how http://www.google.com looks
website like http://www.kernel.org which does not use javapscript suffers less - www.kernel.org just seems to lose all layout and image info, with all the texts from the web site in one continuous paragraph.
Created attachment 16118 [details]
how http://www.kernel.org looks
Fixed all the rendering issues (they are really event-loop issues) by borrowing some ideas from geckofx.