GNOME Bugzilla – Bug 731438
Can't display youtube web site
Last modified: 2015-05-10 05:56:03 UTC
Created attachment 278178 [details] How youtube page is rendered Since latest upgrades, I cannot open "http://www.youtube.com/". The browser shows an error message saying (translated from Italian): "Something went wrong while opening the page. To continue, reload or use a different page" By refreshing or clicking the buttons saying "reload anyway", the page reloads but it shows a white page. The weird thing is that if I move the mouse over that white page, the cursor sometimes turns into hand like it wasflying over an hyperlink. If I click on that point (where the cursor showns an hand icon) it actually opens the hyperlink. Something loads, the tab title changes (also showing the "playing" icon but I still get a blank page. It looks like a rendering issue. (see a screenshot).
Which other browsers work correctly?
Chrome, Firefox and even the Java/SWT browser control (org.eclipse.swt.browser.Browser) which wraps libwebkitgtk 2.4.3.
I've also compiled the following vala test using gtk2 using Gtk; using WebKit; public class ValaWebkit : Window { private WebView web_view; public ValaWebkit(){ this.title = "Testing youtube"; set_default_size (800, 600); web_view = new WebView(); add(web_view); this.web_view.open ("http://www.youtube.com/"); } public static int main (string[] args) { Gtk.init (ref args); new ValaWebkit().show_all(); Gtk.main(); return 0; } } valac --pkg gtk+-2.0 --pkg webkit-1.0 --thread valawebkit.vala and it works. I'll try to compile against gtk+3 and webkit2-gtk3
Ok I think the issue is with webkit2-gtk3. I have compiled the above example against gtk3 / webkit2 like this: valac --pkg gtk+-3.0 --pkg webkit2gtk-3.0 --vapidir=. --thread valawebkit.vala (I have downloaded webkit2gtk-3.0.vapi from here: http://code.metager.de/source/xref/midori/midori/webkit2gtk-3.0.vapi) and is shows exactly the same issue as Epiphany... do I have to issue a ticket at webkitgtk project page? Note: in order to compile the above example against webkit2-gtk3, you have to replace "this.web_view.open ("http://www.youtube.com/");" with "this.web_view.load_uri ("http://www.youtube.com/");" as methos open is not available for WebView class (at least not declared in vapi).
(In reply to Luca Viggiani from comment #4)> > and is shows exactly the same issue as Epiphany... do I have to issue a > ticket at webkitgtk project page? Yes, at bugzilla.webkit.org (leave a link here). But I'm not having any troubles loading youtube.com anymore, so I guess this has probably been fixed in the meantime. Sorry for the delay in responding.
Yes you're right, since GNOME 3.16 the bug is gone.