After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731438 - Can't display youtube web site
Can't display youtube web site
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: General
3.12.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-06-10 07:46 UTC by Luca Viggiani
Modified: 2015-05-10 05:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
How youtube page is rendered (99.50 KB, image/png)
2014-06-10 07:46 UTC, Luca Viggiani
Details

Description Luca Viggiani 2014-06-10 07:46:00 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).
Comment 1 André Klapper 2014-06-10 13:27:38 UTC
Which other browsers work correctly?
Comment 2 Luca Viggiani 2014-06-10 18:57:40 UTC
Chrome, Firefox and even the Java/SWT browser control (org.eclipse.swt.browser.Browser) which wraps libwebkitgtk 2.4.3.
Comment 3 Luca Viggiani 2014-06-10 19:19:19 UTC
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
Comment 4 Luca Viggiani 2014-06-11 11:58:33 UTC
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).
Comment 5 Michael Catanzaro 2015-05-09 14:12:55 UTC
(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.
Comment 6 Luca Viggiani 2015-05-10 05:56:03 UTC
Yes you're right, since GNOME 3.16 the bug is gone.