<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>192558</bug_id>
          
          <creation_ts>2018-12-10 10:54:12 -0800</creation_ts>
          <short_desc>[GTK] Fails to play fullscreen video with Epiphany Tech Preview, something wrong with EGL?</short_desc>
          <delta_ts>2021-02-03 12:10:49 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=201507</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=202362</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cedric.bellegarde</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pnormand</cc>
    
    <cc>tsaunier</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1486623</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-12-10 10:54:12 -0800</bug_when>
    <thetext>Visit https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg and fullscreen the video. The audio continues to play, but WebKit renders only a black screen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1490819</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-12-26 10:58:49 -0800</bug_when>
    <thetext>Another example: visit https://gitlab.gnome.org/GNOME/epiphany/issues/604 and fullscreen the video in the first comment, using Tech Preview. The video plays fine when not fullscreen, but when fullscreen WebKit only shows a black page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1491098</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-01-01 06:33:29 -0800</bug_when>
    <thetext>I can&apos;t reproduce this issue with GTK&apos;s MiniBrowser running in WebKit&apos;s flatpak.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1491100</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-01 10:18:13 -0800</bug_when>
    <thetext>The main differences:

 * WebKit&apos;s flatpak environment is quite outdated compared to the GNOME runtime
 * WebKit&apos;s runtime uses stable versions of GStreamer whereas the GNOME runtime uses git nightlies
 * WebKit&apos;s runtime has extra multimedia codecs that are still not yet readily available in the GNOME runtime</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1491113</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-01 12:27:13 -0800</bug_when>
    <thetext>Another difference: Epiphany now force-disables accelerated compositing mode, unlike MiniBrowser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1491114</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-01-01 14:47:25 -0800</bug_when>
    <thetext>I doubt this is related with GStreamer. Playback isn&apos;t interrupted when going to fullscreen.

However this might be related with accelerated compositing indeed? Requires a debugging session in the Flatpak sandbox :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1547452</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-06-24 11:54:03 -0700</bug_when>
    <thetext>This is still broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1566195</commentid>
    <comment_count>7</comment_count>
    <who name="Thibault Saunier">tsaunier</who>
    <bug_when>2019-08-29 05:38:56 -0700</bug_when>
    <thetext>I can&apos;t reproduce with latest flatpak from flathub. Though I am hitting https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/639 whenever I seek...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1566720</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-08-30 10:32:32 -0700</bug_when>
    <thetext>(In reply to Thibault Saunier from comment #7)
&gt; I can&apos;t reproduce with latest flatpak from flathub.

We don&apos;t have a flatpak on flathub? Do you mean Tech Preview (not on flathub)?

I can reproduce the blank screen in Tech Preview, but I can&apos;t hear the video playing successfully anymore because video playback freezes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1567204</commentid>
    <comment_count>9</comment_count>
    <who name="Thibault Saunier">tsaunier</who>
    <bug_when>2019-09-02 08:23:44 -0700</bug_when>
    <thetext>&gt; ➜  ~ flatpak list |grep -i epiphany
&gt; GNOME Web	org.gnome.Epiphany		stable	flathub	user
&gt; ---

I did run update but indeed, it is an old thing.


I installed the write flatpak version and could reproduce, will have a look at that one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1689904</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-18 12:18:01 -0700</bug_when>
    <thetext>*** Bug 195096 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1689905</commentid>
    <comment_count>11</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-18 12:18:41 -0700</bug_when>
    <thetext>So nowadays the video is no longer blank; instead, we see the web page content as if there were no video. I have no clue what&apos;s wrong. The bug does not occur in my jhbuild environment, which makes it hard to debug.

It&apos;s 100% reproducible using the videos at https://gitlab.gnome.org/GNOME/epiphany/-/issues/1135#note_905514</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690059</commentid>
    <comment_count>12</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2020-09-19 02:13:26 -0700</bug_when>
    <thetext>
(In reply to Michael Catanzaro from comment #11)
&gt; So nowadays the video is no longer blank; instead, we see the web page
&gt; content as if there were no video. I have no clue what&apos;s wrong. The bug does
&gt; not occur in my jhbuild environment, which makes it hard to debug.
&gt; 
&gt; It&apos;s 100% reproducible using the videos at
&gt; https://gitlab.gnome.org/GNOME/epiphany/-/issues/1135#note_905514

Works as expected here in Ephy 3.38.0-16-gb0766c3a7+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690094</commentid>
    <comment_count>13</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-09-19 11:11:11 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #12)
&gt; &gt; It&apos;s 100% reproducible using the videos at
&gt; &gt; https://gitlab.gnome.org/GNOME/epiphany/-/issues/1135#note_905514
&gt; 
&gt; Works as expected here in Ephy 3.38.0-16-gb0766c3a7+

It works for me today too (same Ephy version). Strange. I doubt anything code has changed since yesterday....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1697710</commentid>
    <comment_count>14</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-10-14 07:49:28 -0700</bug_when>
    <thetext>I&apos;m starting to suspect this issue is related to bug #201507. That is, it only occurs when EGL is not working properly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1702106</commentid>
    <comment_count>15</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-10-27 14:47:34 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #14)
&gt; I&apos;m starting to suspect this issue is related to bug #201507. That is, it
&gt; only occurs when EGL is not working properly.

It seems my guess was correct. I can reproduce right now, for the first time in several days. The bug occurs also in a new incognito window created in Epiphany&apos;s window menu (same flatpak sandbox), but not in new incognito windows created from the gnome-shell jumplist (separate flatpak sandbox), which proves it&apos;s related to bug #201507.

However, fixing that crash will probably not fix fullscreen video, so I&apos;ll reopen this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1725270</commentid>
    <comment_count>16</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2021-02-03 12:10:49 -0800</bug_when>
    <thetext>I&apos;m certain that the current problem is bug #201507. Having two bugs open for the same underlying issue is not useful, so closing this.

At the time I originally reported this bug, bug #201507 had not been introduced yet, because we didn&apos;t use WPE renderer yet. Somebody must have fixed it at some point in the meantime. Hence, I&apos;m closing this as FIXED rather than DUPLICATE.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>