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: PGTK-related misconceptions Date: Tue, 19 Apr 2022 18:42:14 +0800 Message-ID: <877d7lfj7d.fsf@yahoo.com> References: <87lew7qdtj.fsf@yahoo.com> <877d7lmmz9.fsf@gmail.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="10044"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: "Dirk-Jan C. Binnema" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 19 12:49:44 2022 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 1nglQW-0002SH-7t for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Apr 2022 12:49:44 +0200 Original-Received: from localhost ([::1]:52988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nglQU-0001ji-TI for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Apr 2022 06:49:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nglJY-0005gW-Hi for emacs-devel@gnu.org; Tue, 19 Apr 2022 06:42:32 -0400 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:34701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nglJW-0005po-4l for emacs-devel@gnu.org; Tue, 19 Apr 2022 06:42:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650364947; bh=jqOkpYn6mixCC278VyMv2TdVt/ZWrgwpd1yXzgCM6w8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=IJXp+eOA9sdUG11xQhTjk5DcBeSzD3it8Ci5e1i2ssBm+Wfc0j8bIK99tpMxVrB/PBiPfRuaY9jLuLu+5H+pN8Cvy9zrw90AxpsJqMYTODduL+SEnXvAzGoqNObjeUlUMTXMZONbpmXa6TT3KJsHp/vnurYz2t8h1Mka8eLO5tzX6NNlHEBx++7arriz+Gq3qp/PDzSMtzzooAgJohmIbDiRZUKW28wmOmCYeeClGBEEoAbEMMqRycIXqnC43sMONeEd11DZdKhYInP4CTvUlteAP2xSAlLPma3yg/EsbGao/BftX40JHGH1FQfgsnGuFNWuSdkQOaNVR8Rs3Qo+9Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650364947; bh=mmZIYqPENAz4o0a0sV4WB5wab9aAy4MyrOwNZoAOsI+=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HSJMJS/Ce2QZ+VFIvUeAl9kTizSynIJOSKV7mRXaebhIzmy3zmfN4dnSACjg00UCmpgPhV4qZeJSJ5RwixZtSPwvhrS1GDM3fNTpOtkCJfi7UkuYnyOuuCpYywRJIUdr0+PPG2BI45IZrpeLBykOVikSQKc6Qs4iGA1Jb7cPxA/bND8+K4j4WVsrJqyLTheqDwclSvMAH10AI4ekDD7OQq0y+YXoYnL33Vrj6IRyKHekhn4MTP/tTy1d62obDInlPj3nrlSzxZJtfJd67n7sdGTr8QHZUkrGA7nm8YE+R5laQGWkEQT9rD0MoVjW2gVxOuxkMOovvf4quT2132CbMg== X-YMail-OSG: K84FltUVM1lqBxkFZ9.3GhPNATTdUFvnuaD3mKCE0G17xd5vkLgvMlitueInEzz WN0FerQvC7nxGiGqEaXtNaa7nGKIVG_NpJgluKBHVvraIIOq95GpmI61l8vIMGT1zE6DOH2o7hBE q8H4NIulsaKuw6laMyABytARZdNTVi_Fwj1Msip7C_zjPcfpb73Vb6reQcAibTmje.0pKRhb2Qla 2JqCHP8IKD9Bc2G_b8XPGQfwHNYTQJrXAy0_N.mJkE..Cr_k89K6sveOF5tXTtLADbnhKG3DcWXa LxIPF6uiRUFgEE2n4t0nAjeZH3DNcmqyXqbFK74y4dRmsS9oiWiGGarPuAmQmAFewmeZUsFC6Yxo 1EUu9kpmQdhIKkl.D5Y8wJE1svA3y9yIFryN0s4LQW2Zz_Ennjb8vFnE1HU3bJW4ihK9mSvhSpDb tSPCTxzeygK64mC_Wzu_axznnWODqWsAJ3MN2ik_pedm12W8Z6J2Rz3urGGg03mSSJS.7aGDrkpk OPGqqpRfvCJLSCtv.m5kd5lJ1wOxV5QDVUDzaaU6BwmHaraZ0AD7ZfZLeB1SpJyDcjLSyxLROVhJ u_MoUPpVHZBuGTCXixfoks0NBI4mpusxVOzVd0CvbnmwfHi9zult6ukFWJr7.veb39wwHZiNnI1Y x4Btve5VvH.4OhpOylPyHsX2TWu.auFUxoLQoQil8F4FHPzRfqgWqP6uWLbeSCBxvzGLn7LTuUq6 HbcRsl6sMFIMkw3pwfKJ7n2XGOQQvhGeqewo8bTC9D9UFPT7G_DqzumTLjvEKsVG66qcwXvSxFof G0D.xiL_KFVmN2XGDOt.RPEsaHvHQirUoTZuyPI8C. X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Tue, 19 Apr 2022 10:42:27 +0000 Original-Received: by hermes--canary-production-sg3-cfddc4f9d-gtcd4 (VZM Hermes SMTP Server) with ESMTPA ID d7064c3f2ff90ad4a86db78d131c7441; Tue, 19 Apr 2022 10:42:21 +0000 (UTC) In-Reply-To: <877d7lmmz9.fsf@gmail.com> (Dirk-Jan C. Binnema's message of "Tue, 19 Apr 2022 12:10:09 +0300") X-Mailer: WebService/1.1.20048 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.204; envelope-from=luangruo@yahoo.com; helo=sonic310-23.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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" Xref: news.gmane.io gmane.emacs.devel:288660 Archived-At: "Dirk-Jan C. Binnema" writes: > Appreciate the efforts on this, but the outcome seems somewhat > unsatisfactory, if I understand correctly: > > - we have the "non-pure" gtk build which supports X (although gtk has a > wayland backend, non-pure gtk assumes X) "Non-pure GTK" uses GTK for widgets, but directly uses X Windows APIs for input and display, and some other features too. > - we have "pure" gtk, which supports X and Wayland, but now it turns > out there's a bunch of limitations on X. Yes. > From the the time before pgtk got merged, I can't remember any wide > discussion of it being wayland-only. Perhaps I misremember. I looked over those discussions not too long ago, and it seems that nobody really used the PGTK build on X Windows. Those who did immediately ran into resizing glitches, keyboard input issues, and some features just not being implemented, such as responding to configure events. > I regularly use both X and Wayland, and having to have two emacsen (and > remember to use the right one) just for that seems sub-optimal. Wouldn't > it be better to have a single gtk3 backend? For users and developers and > distributors? That isn't possible, at least not without a lot of work. > But maybe the problems is small, i.e. perhaps pgtk works fine on X, but > doesn't currently implement a handful of things, which we can document? > Then users can decide if they can live with that. That list would be very long, would include serious types of misbehavior, be liable to change at the whim of the GTK developers, so the truth is that users should simply stay away from PGTK on X.