From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: SVG widget in GNU Emacs Date: Thu, 28 Oct 2021 09:15:07 +0800 Message-ID: <875ytiq7ac.fsf@yahoo.com> 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23679"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , Emacs developers To: Akira Kyle Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 28 03:16:50 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 1mfu2D-0005xH-QP for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 03:16:49 +0200 Original-Received: from localhost ([::1]:47426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfu2B-0000hF-TE for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 21:16:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfu0n-0008BT-2k for emacs-devel@gnu.org; Wed, 27 Oct 2021 21:15:21 -0400 Original-Received: from sonic303-22.consmr.mail.ne1.yahoo.com ([66.163.188.148]:46845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfu0l-0004Se-6Y for emacs-devel@gnu.org; Wed, 27 Oct 2021 21:15:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635383717; bh=a1BqV5Ac6hLpBeYeCi+i2uBoCf8S+GmH1o12FRrQ7Ws=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Ul59ck+10gx+3JS5zskz3d/XyC+7OPyQCyVCRFlczGC5NyqKGF/tp5yAY15ywK+vMOdQf/ECFnRu6rxinJw4XP8OvteskS5+peomWvNGgQ08l/ck6KiBHCmCKZRQsME6Oov90fnB/lsxzaOKFjDGKUtzH+9ng63swZCjLIVxrE35JS+eU/KpTt0ijwQ7MawP6e/V4u6tXSnkIi7lNlkJG7PO36mZ/K28iOgTuvP3I8F+i/2uy95Ziu+9mpoxZJHWx9br45NneFjPU09d4iX+FDEWwnMVA1EPU6uKV/JeHG6Qqk7gmJGUVWt6KCzwdOXbGh+p/f+qarXIUWEnJ3Z9zg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635383717; bh=8M3C/V57kl5p8Sq8Uh4W3E/LJ4ppc4yCsDV4d9wRHAZ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=WiPLdQGLgcf9fHt8BvCI9yBg5pgwvOy/bdwsUfvXe057zHLuBqF/GEuRfZBR4qSmx3vkbZixgagcmPOU6+Zl4nk+vEUW/C5MfG8ytzyHC2icwR7+7Qrk+Ju979ax7sGgM9Q3n62GGUTRQnRyBiWQ6NCK7Si2BalYfWs6doPnRHKG7y6Olg0xMR6xjzpokYum4IbkxAZJS/Aq2esDGIcYUe98EJE2wjCe6q8bqtPvMJSqKsl93bK0Ru7TlgNX9/Ua+Zfefjhn7Xh5TehWCcqJdvyZWMy+1h0j6lqm3WquEA2Mbo1X4Tj/97G8yw0mFyFoqPO0LUZ59Q9dcrBdu/mihw== X-YMail-OSG: aXG6R8oVM1koJpCTSEAYXKReMIh4MyeFIlGPoYNT4Mu1bNOT3I9qha1lty6UMh3 K5hKbBkGLDylPOUqtbEkIXtRSy6iI4Xa60vBmHmV2K99YpoFXnlp71S5zNwCsV57qBDTOtXggx1a QQkn69ybSoC93x1B10tzQLjFzxfIoAEG4jhNF4x9rKWBdi2l886p4CQnz30G5sfY9E7bAH3Hfz5A jJwgDwh0fKkfw6UGWJ66f_2aRzxZYUwLGJUQXx5govm5IkBy3kD_HVrmnD5nmmtuaE0OzlLK96W3 rirVoFbSpYsk4O7FdEf38CaMw7.uAlrwXzldEQJBm9DdQzjjZbbt9_rHwhRgRoXtFrHtVaNwX3Wp Cko6IjF.w2wIbE4YjnRvfHvoXpWFGi6.iWwImEpGa2uOvxGFKDCfhNafO7m5BVrO96njJ123OhaU zmaJNr7gHjnYVG5oTakCMFndqrr3gvLFgLPvb3gltuVIYdMnruP6vwDreA.ImHvlw5SHCfFAFkmh PMIhY0O88sx4N9xAjSq854HmDia48nysfI0K1IatbKzH115MZOXVFwbnDSld6KyOKeCn7GWEoSVR LATb12od_N.MiD_0d37s9H.V3GnShU89whqFOjvCXfsm2RbF.G2mc2xrvszNi0p8cvfCt3GIzRuP 0rzwjQsiuhoqVjB5VG0LbSXhBVCb41tKHBBTOsFNqeqaM7msID3Bs.99hKONDBzqBNBGfa8EfFEB 4kCwgTiB.aaIxA4ObMtphWL7RrijWbqgJzCtpsXkZElpWPeBZINSqa5Fxv8itcFU8xA9H35Z41SP 7lFwf9Hwl8cLb4drX.NUJXSNlwqBaQdQORx5z3Xa_x X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 28 Oct 2021 01:15:17 +0000 Original-Received: by kubenode512.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID ad949166022935785fb9c2cc2c77004a; Thu, 28 Oct 2021 01:15:10 +0000 (UTC) In-Reply-To: (Akira Kyle's message of "Wed, 27 Oct 2021 13:49:21 -0600") X-Mailer: WebService/1.1.19198 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.148; envelope-from=luangruo@yahoo.com; helo=sonic303-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:278057 Archived-At: Akira Kyle writes: > 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. If I understand correctly, Fedora Core builds Emacs with xwidgets enabled by default. > 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 flickering problem is not a real problem here, I think. My theory is that it can be fixed by moving the display to a separate X window, instead of a GtkDrawingArea. (Perhaps by using `gdk_window_ensure_native' on the drawing area's window, but I'm unsure if that approach still works on GTK 3 as it did on GTK+ 2.) > 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. Does Xwayland not support HiDPI displays? > Exactly why I think for the sake of future compatibility with GTK 4, > it's best not to rely on off-screen rendering. If future compatibility with GTK 4 is really such a concern, we should not even be using cairo.