From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: moving xwidget-webkit to WPE Date: Sat, 27 Jul 2024 21:51:51 +0200 Message-ID: <87ikwqpq94.fsf@tanaka.verona.se> References: <87plqyprq2.fsf@> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26089"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Po Lu , =?iso-8859-1?Q?No=E9?= Lopez To: =?iso-8859-1?Q?No=E9?= Lopez via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 27 21:52:56 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 1sXnTJ-0006de-MT for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Jul 2024 21:52:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXnSV-0007Or-5w; Sat, 27 Jul 2024 15:52:03 -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 1sXnSS-0007OY-CF for emacs-devel@gnu.org; Sat, 27 Jul 2024 15:52:00 -0400 Original-Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXnSP-0005It-Ta for emacs-devel@gnu.org; Sat, 27 Jul 2024 15:51:59 -0400 Original-Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 55ED42B8C0 for ; Sat, 27 Jul 2024 21:51:53 +0200 (CEST) Original-Received: from s934.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 41F322C904; Sat, 27 Jul 2024 21:51:53 +0200 (CEST) Original-Received: from s472.loopia.se (unknown [172.22.191.6]) by s934.loopia.se (Postfix) with ESMTP id 3FFBF7CEA44; Sat, 27 Jul 2024 21:51:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se Authentication-Results: s472.loopia.se (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=verona.se Original-Received: from s981.loopia.se ([172.22.191.5]) by s472.loopia.se (s472.loopia.se [172.22.190.12]) (amavisd-new, port 10024) with LMTP id Lr-GLRfUIFGa; Sat, 27 Jul 2024 21:51:52 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: smtpuser@verona.se X-Loopia-Originating-IP: 193.234.148.196 Original-Received: from tanaka.verona.se (unknown [193.234.148.196]) (Authenticated sender: smtpuser@verona.se) by s981.loopia.se (Postfix) with ESMTPSA id C006A22B1761; Sat, 27 Jul 2024 21:51:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verona.se; s=loopiadkim1720028670; t=1722109911; bh=NeWZ7JphUgClbuzsHzbSj3CaQ/yZ+s4yiqko+YyGVlU=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=o7bhmJ1tmJrU+6/lDstTeG5ipictMduqGr6I/Dco9a5iSnTGKp376E7ffHvq8AhkW HJNyPqPTE8WxxBmzHjPGD0RB55m3m07UBX5XccQB/lGEwjPly3TdWIdDPEhcyjgo1/ Zsu3pXLkOBr3kGJ5soGBqLTQxEltnuDm2EdETPX0Env4L442K6CaA76CWKXzt/yuvm Vr7nOpVMqURCo2sn5uMjfEJc3timRwy81aLObQ+Vui2EPYjz66NdUwqEPFQKQW3Nrm XpWXUrSG5yd2R+3Ua0vQNr2brbBAdYmzlRTGtdlrk18ExMQs/iJM0NvsdV47TmXK5Q wDYYKVt6NDt7Q== In-Reply-To: <87plqyprq2.fsf@> (=?iso-8859-1?Q?=22No=E9?= Lopez via \"Emacs development discussions.\""'s message of "Sat, 27 Jul 2024 21:20:05 +0200") Received-SPF: pass client-ip=93.188.3.37; envelope-from=joakim@verona.se; helo=smtp.outgoing.loopia.se X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:322144 Archived-At: No=E9 Lopez via "Emacs development discussions." writes: > 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=E9 Lopez FWIW the original idea of xwidgets was to allow for different widget types. Some rambling notes from way back about this are here: https://github.com/jave/xwidget-aux There was some code to test xwidgets sliders, buttons etc, and also an attempt at a generic gobject elisp bridge. That being said, the emacs maintainers have improved the code a lot since then, so those notes are just a historical curiosity now. Regards, Joakim > --=20 Joakim Verona joakim@verona.se