From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 02 19:15:43 2023 Received: (at submit) by debbugs.gnu.org; 2 Sep 2023 23:15:43 +0000 Received: from localhost ([127.0.0.1]:38880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcZq7-0005bD-2B for submit@debbugs.gnu.org; Sat, 02 Sep 2023 19:15:43 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcUQZ-0005dt-JO for submit@debbugs.gnu.org; Sat, 02 Sep 2023 13:28:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qcUQK-0004yN-4A for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 13:28:40 -0400 Received: from wmail1.cc.ntu.edu.tw ([140.112.2.161]) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1qcUQG-0007y4-5I for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 13:28:39 -0400 Received: from localhost (localhost [127.0.0.1]) by wmail1.cc.ntu.edu.tw (Postfix) with ESMTP id EA16E1AEBE for ; Sun, 3 Sep 2023 01:28:02 +0800 (CST) Received: from 180.217.43.40 ([180.217.43.40]) by wmail1.cc.ntu.edu.tw (Horde Framework) with HTTP; Sun, 03 Sep 2023 01:28:02 +0800 Message-ID: <20230903012802.19266ohrgf63w5uq@wmail1.cc.ntu.edu.tw> Date: Sun, 03 Sep 2023 01:28:02 +0800 From: r09944008@ntu.edu.tw To: bug-gnu-emacs@gnu.org Subject: xwidget-webkit cannot play video on Linux MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.4) Received-SPF: pass client-ip=140.112.2.161; envelope-from=r09944008@ntu.edu.tw; helo=wmail1.cc.ntu.edu.tw X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 02 Sep 2023 19:15:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) As title. I visited a website using M-x xwidget-webkit-browse-url and tried to play the video in it (ex: the video on https://www.gnu.org/), but webkit hanging infinitely. I think this is a known issue as Po Lu already flie a ticket to the webkit developers [1]. But currently the issue is blocked by unable to reproduce the problem in the webkit side. Hence I opened this one in the Emacs side for tracking and also wish to raise the attention of Emacs graphics experts to help solving the problems. Thanks. [1] https://bugs.webkit.org/show_bug.cgi?id=232860 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 03 01:30:34 2023 Received: (at 65710) by debbugs.gnu.org; 3 Sep 2023 05:30:34 +0000 Received: from localhost ([127.0.0.1]:39067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcfgw-0006OI-JP for submit@debbugs.gnu.org; Sun, 03 Sep 2023 01:30:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcfgr-0006L1-PR for 65710@debbugs.gnu.org; Sun, 03 Sep 2023 01:30:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qcfga-0000qm-Ev; Sun, 03 Sep 2023 01:30:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mZwIJxPI02c5JoR1OLLmSPGBk1C/XPahkG0NrExejsQ=; b=ViMj9X92S1BD ccTsennpuKhG3d53XniKOwiSvsgHcdm13JexsuSpDqZc60Hli2iepOEYfqXUJpaNf8vz9M60upYbe 6oQn4B+teHZXJAqbNsiCq0maRjalMt0L9WVUOoBLWU9lHUdlgtTa5sJ4sIQ/3+QO+NCBBZmtiLu3a Cqd2Z3NfF75aV6BQfh+gdPwT4AizYuObjw/g9nyrlEl6rA/YWfgiAEue7VvInrIovYBgxKHbn0Tqb iFnlX7hDiQrI7rYKf2Z+/yFQymOy7FzoCsavuHMz2A+jjERmhFFW9xjEqEcy6cCuCV2FouUx/d5Or 1UQbb+msK5IcADkQVQalxQ==; Date: Sun, 03 Sep 2023 08:29:49 +0300 Message-Id: <83ledn9642.fsf@gnu.org> From: Eli Zaretskii To: r09944008@ntu.edu.tw In-Reply-To: <20230903012802.19266ohrgf63w5uq@wmail1.cc.ntu.edu.tw> (r09944008@ntu.edu.tw) Subject: Re: bug#65710: xwidget-webkit cannot play video on Linux References: <20230903012802.19266ohrgf63w5uq@wmail1.cc.ntu.edu.tw> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65710 Cc: 65710@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 03 Sep 2023 01:28:02 +0800 > From: r09944008@ntu.edu.tw > > As title. I visited a website using M-x xwidget-webkit-browse-url and > tried to play the video in it (ex: the video on https://www.gnu.org/), > but webkit hanging infinitely. I think this is a known issue as Po Lu > already flie a ticket to the webkit developers [1]. But currently the > issue is blocked by unable to reproduce the problem in the webkit > side. Hence I opened this one in the Emacs side for tracking and also > wish to raise the attention of Emacs graphics experts to help solving > the problems. Thanks. What is the Emacs problem we are supposed to investigate here, to help solving the problem? From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 04 14:33:08 2023 Received: (at 65710) by debbugs.gnu.org; 4 Sep 2023 18:33:08 +0000 Received: from localhost ([127.0.0.1]:52533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdENn-0004nK-Tz for submit@debbugs.gnu.org; Mon, 04 Sep 2023 14:33:08 -0400 Received: from wmail1.cc.ntu.edu.tw ([140.112.2.161]:36718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdENk-0004mn-M8 for 65710@debbugs.gnu.org; Mon, 04 Sep 2023 14:33:06 -0400 Received: from localhost (localhost [127.0.0.1]) by wmail1.cc.ntu.edu.tw (Postfix) with ESMTP id A97D235E845; Tue, 5 Sep 2023 02:32:59 +0800 (CST) Received: from 180.217.34.65 ([180.217.34.65]) by wmail1.cc.ntu.edu.tw (Horde Framework) with HTTP; Tue, 05 Sep 2023 02:32:59 +0800 Message-ID: <20230905023259.13074tr7m0fqrjrv@wmail1.cc.ntu.edu.tw> Date: Tue, 05 Sep 2023 02:32:59 +0800 From: r09944008@ntu.edu.tw To: Eli Zaretskii Subject: Re: bug#65710: xwidget-webkit cannot play video on Linux References: <20230903012802.19266ohrgf63w5uq@wmail1.cc.ntu.edu.tw> <83ledn9642.fsf@gnu.org> In-Reply-To: <83ledn9642.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.4) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65710 Cc: 65710@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Quoting Eli Zaretskii : >> Date: Sun, 03 Sep 2023 01:28:02 +0800 >> From: r09944008@ntu.edu.tw >> >> As title. I visited a website using M-x xwidget-webkit-browse-url and >> tried to play the video in it (ex: the video on https://www.gnu.org/), >> but webkit hanging infinitely. I think this is a known issue as Po Lu >> already flie a ticket to the webkit developers [1]. But currently the >> issue is blocked by unable to reproduce the problem in the webkit >> side. Hence I opened this one in the Emacs side for tracking and also >> wish to raise the attention of Emacs graphics experts to help solving >> the problems. Thanks. > > What is the Emacs problem we are supposed to investigate here, to help > solving the problem? > IMHO we need to verify first if this is really a webkit's bug or it's actually Emacs own problems. The simplest way is to write some toy program to reproduce the issue without involving Emacs. From the bug description, I saw Po mentioned that he "can't get video to play in a WebKitWebView attached to a GtkOffscreenWindow", it would be better to elaborate how the buggy code is written and see if we can extract those part into independent sample program and send it to the webkit team. Thanks.