From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akira Kyle Newsgroups: gmane.emacs.devel Subject: Re: SVG widget in GNU Emacs Date: Wed, 27 Oct 2021 13:49:21 -0600 Message-ID: References: <87bl3kcrpl.fsf@yahoo.com> <83ilxrc2ys.fsf@gnu.org> <875ytrc168.fsf@yahoo.com> <83a6j3c092.fsf@gnu.org> <87wnm7al92.fsf@yahoo.com> <835ytrbx8s.fsf@gnu.org> <874k92sstk.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8762"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Emacs developers To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 27 22:02:27 2021 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 1mfp7y-00023q-B9 for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 22:02:26 +0200 Original-Received: from localhost ([::1]:39870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfp7w-0007u7-JS for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 16:02:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfova-0000hs-49 for emacs-devel@gnu.org; Wed, 27 Oct 2021 15:49:38 -0400 Original-Received: from mail-lj1-f181.google.com ([209.85.208.181]:41624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfovY-0004Gd-2x; Wed, 27 Oct 2021 15:49:37 -0400 Original-Received: by mail-lj1-f181.google.com with SMTP id u5so6579996ljo.8; Wed, 27 Oct 2021 12:49:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SQj0ypCI1w6x9lMLVhgOqagQ3BgxIe8ITHnFUGZTq7g=; b=MrMTFETK6thQxStBhrsnGDSd9uvYR1cOnVcZZ3wqp/7ocX2OjbEb1lgjqwq9eNKmzw Gfdk4s+ksgZLQvKZE3kJfmTzXQ3i+fLoHqeoXEOX99gnfJx5J29a//NWVtFIBxHhLcTO agfgV7GzFQP/ZnVA4nysktZEGcKzYJs8Me1T+cgjJ+PkV+WhnqiSHtlAFvP3S+RrNnrb PPhXrlIJa1TpW9dflUgjxNFwHRZyXsbBf7dD15uFOIMylCzcPL3nCtukb0a+HCugRdkn ojwsKdKBTzDmx/RMdpaZVljK9LwOeV0NMvOE9Eeuc8evDebwYBWkTbN+xUZd3FN08KHw JuQw== X-Gm-Message-State: AOAM5335Furzqw6/wf/PTj+KDAfd0aHvaUFY+eDTbc7kaJ7iuw8msTEu fvv70pAuI4DD1Ual7Ki8iacqXawZ3BFg6A== X-Google-Smtp-Source: ABdhPJySrTitxmrczwaJUluyQygFG3qTEJh2qvjfVGw9+CHw4EWHsaLIrFl+LHR2ce8d9W/NmY/M3Q== X-Received: by 2002:a05:651c:33a:: with SMTP id b26mr17106825ljp.353.1635364172981; Wed, 27 Oct 2021 12:49:32 -0700 (PDT) Original-Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com. [209.85.167.53]) by smtp.gmail.com with ESMTPSA id k8sm83819lfu.276.2021.10.27.12.49.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Oct 2021 12:49:32 -0700 (PDT) Original-Received: by mail-lf1-f53.google.com with SMTP id j9so8507961lfu.7; Wed, 27 Oct 2021 12:49:32 -0700 (PDT) X-Received: by 2002:a05:6512:114d:: with SMTP id m13mr32465433lfg.154.1635364172440; Wed, 27 Oct 2021 12:49:32 -0700 (PDT) In-Reply-To: <874k92sstk.fsf@yahoo.com> X-Gmail-Original-Message-ID: Received-SPF: pass client-ip=209.85.208.181; envelope-from=aikokyle@gmail.com; helo=mail-lj1-f181.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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.23 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" Xref: news.gmane.io gmane.emacs.devel:278053 Archived-At: On Wed, Oct 27, 2021 at 3:47 AM Po Lu wrote: > > Even though it's not very polished at present, I've seen a great deal of > code rely on the existing xwidgets support. I think it would be best to > not make it obsolete. I'd be curious to see anyone in the past several years on a GNU/linux system that actually uses xwidgets given that last I checked it suffered from a rather severe flickering bug. I know people on macOS regularly use it, especially since the popular homebrew-emacs-plus formula enables it. > I understand what the problem in this area is. But I'd rather have the > existing and (mostly) working xwidgets feature fixed than to waste time > implementing a new one. If you do figure out the flickering problem, I'd be very interested in were the bug is. Last year I tried tracking it down to no avail. I think I started to suspect it was a bug somewhere between the way GTK handles offscreen rendering and the way emacs tries to take control of GTK's event loop. > The pure GTK port will do nothing to resolve the issues here. I worked > with that port a while ago, eventually porting it to GTK 4, but quickly > lost interest not soon after that. I didn't say it would, just that I think it should be a higher priority project than resurrecting xwidgets on gtk. > In fact, I don't even see the problem with running Emacs in Xwayland. > I've been doing that for years ever since Fedora switched to using > Wayland by default, and I've never had any non-minor problems. I don't think it currently is, or ever will be, a technical problem. The xwayland devs have made sure of that. I think its more of a perception problem as wayland becomes adopted and users see apps requiring xwayland as increasingly "unmaintained", "legacy" apps. I've certainly seen such questions come up with newcomers, especially when it comes to users on HiDPI displays so users can see a tangible difference in the default font rendering between xwayland and native wayland apps. > All and all, the PGTK port still keeps the existing X11+Cairo display > architecture. On the GTK3 version of that port, xwidgets still work > like they do on X and NS. They will not work on GTK 4 anyway, as the > GTK developers have deleted the ability to draw off-screen. Exactly why I think for the sake of future compatibility with GTK 4, it's best not to rely on off-screen rendering. > It uses WebRender as a window system for Emacs, not Servo. Yes, I was being loose with my terminology, given webrender is a component of servo and at one point servo was the more well known project. Since firefox adopting webrender, and stopping support for servo development, I suppose the opposite case is now true.