From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?No=C3=A9_Lopez?= via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: moving xwidget-webkit to WPE Date: Sat, 27 Jul 2024 21:20:05 +0200 Message-ID: <1511.48000020243$1722108191@news.gmane.org> Reply-To: =?utf-8?Q?No=C3=A9_Lopez?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1790"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 27 21:23:04 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sXn0S-0000IN-0J for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Jul 2024 21:23:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXmzq-0000Hy-55; Sat, 27 Jul 2024 15:22:27 -0400 Original-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 1sXmxz-0008Kp-I2 for emacs-devel@gnu.org; Sat, 27 Jul 2024 15:20:31 -0400 Original-Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXmxw-0004Op-1s for emacs-devel@gnu.org; Sat, 27 Jul 2024 15:20:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202402; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JBLVSh+QnvIaQ5tnEkLAYND3wjwNvg42mYSO/z1uStU=; b=ft7HO+30DXhOdCoq1qT3t5OEpF G+jJVYlY8cPJ07mfiE7Q38oKwRMfDTIqnvTrPMXx+F3dN97grjFgewVHcHASdGqlMcDE2PXgjvAbl YgfNIfj3gsmd1+PfBg+clLBGmMOHmcXNJfm+wp1lHgiRpsFR3WHBkVLfngSz+KLWl8S0rbO3IMMQI hxrTH9GlrcwZPhon1wMtsDndTjafI59D0+M4B3OGwz+aBob3jzYiJaHRsjhGhZKRK6JjjO/1PUs8T nGZfN/ApXofpUlZg6ipyJ5n3XeTxcVveb6eVYbnRSt/8RpZPBxY67QLqhD+e6AkygFP5Wib Original-Received: from [2a01:e0a:990:a960:b62e:99ff:fe08:7e05] (port=38694 helo=navi) by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sXmxa-00781A-Tw; Sat, 27 Jul 2024 21:20:07 +0200 Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, INVALID_MSGID=0.568, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 27 Jul 2024 15:22:23 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322141 Archived-At: Hi, I've been testing with having a simple GtkButton/GtkLabel as an xwidget, and it seems the event handling functions (for example window_coords_from_toplevel) are expecting xwidget->widget_osr to be a GdkWindow. This is weird to me, as I understand xwidget->widgetwindow_osr is already a GtkOffscreenWindow and contains xwidget->widget_osr. Why have a window in a window? For WPE I think I will use GtkDrawingArea which doesn't cause any issues so I shouldn't need to change anything on this end, but I wonder if it is a limitations of xwidgets or just something that you didn't need to implement because the GTK WebkitView is a window. All the best, No=C3=A9 Lopez