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: Abysmal state of GTK build Date: Tue, 23 Aug 2022 16:58:55 +0800 Message-ID: <878rnf8hf4.fsf@yahoo.com> References: <87ilmlluxq.fsf.ref@yahoo.com> <87ilmlluxq.fsf@yahoo.com> <87h725olz1.fsf@gnus.org> <87zgfxn6lt.fsf@gnus.org> <87tu65k9ec.fsf@yahoo.com> <87r119lnsd.fsf@gnus.org> <87mtbxlnf1.fsf@gnus.org> <87czctk890.fsf@yahoo.com> <87a67xlm9v.fsf@gnus.org> <87k070g6l0.fsf@yahoo.com> <8635do4u9b.fsf@gmail.com> <877d30g1az.fsf@yahoo.com> <87czcsfw4v.fsf@djcbsoftware.nl> <87mtbweaxj.fsf@yahoo.com> <87mtbvv37w.fsf@djcbsoftware.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12706"; 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 Aug 23 11:01:16 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 1oQPme-00038g-Dd for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Aug 2022 11:01:16 +0200 Original-Received: from localhost ([::1]:50480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQPmd-0005Ps-4r for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Aug 2022 05:01:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQPkd-0003xd-P4 for emacs-devel@gnu.org; Tue, 23 Aug 2022 04:59:11 -0400 Original-Received: from sonic301-31.consmr.mail.ne1.yahoo.com ([66.163.184.200]:43889) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQPkb-0001B0-1c for emacs-devel@gnu.org; Tue, 23 Aug 2022 04:59:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661245145; bh=LlzAq8WzSTqlebS24scwVhWjl2V8S0a4negghjGMo6c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=DKrhr18ZrqbYYjnJGCZnZK46YTO5I6DAAkNBm/TbOnpgf185MqZ3FDC+grcPZHla2Oqudw7OjZVT2kEB24icw3bgHxNU6ikRjctd7rcwdXF49SIQtafuF/6yfgq2sYdWVAOHyJ4y5Gof7i0rpUjxK65ny25t5InRwnBILVd+dCDBtP167WmlN6aZcRbv7XrTXP0R9SGuPZUFs3uufzncozIqik2YUPI4zYFM0TCXH2hGZqhXm8Do3JMs3sf1a420QgIQdKWhzzBcXQm4iCfnzWVubnBQBeWE/e4Tj6czxrfHBntCzU/FrKP0oTFrmdU3Yss3e3VCg+BESG3qYy4zTg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661245145; bh=qHfXBFeUQ8rCCRJgrPtmxaRilZTzNbfkDz3tQml3Yi1=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ARsc3offcirMiqrNrq+1zjSX8ZW22vX4s/ofeI5Jp3bwKmmhBk6XvXy17rNXoEiuJgTma+XwzfO/WXl0j3Gib/nkA1HM7It2OCh0GHcKiRj5si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RraPVhRQjfwAZ6 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Tue, 23 Aug 2022 08:59:05 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-fnk8z (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 82c6f12859c9803439dc6b562ae9c0da; Tue, 23 Aug 2022 08:58:59 +0000 (UTC) In-Reply-To: <87mtbvv37w.fsf@djcbsoftware.nl> (Dirk-Jan C. Binnema's message of "Tue, 23 Aug 2022 09:34:54 +0300") X-Mailer: WebService/1.1.20560 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.200; envelope-from=luangruo@yahoo.com; helo=sonic301-31.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, 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:293857 Archived-At: "Dirk-Jan C. Binnema" writes: > So it does not apply to pgtk on Wayland? What about on X? PGTK is not supported on X and does not run correctly there. > I don't use X, but I can't remember problems copy-pasting between other > Gtk program (say, GEdit and gnome-builder). What is emacs doing > differently? Emacs has higher requirements, since we perform selection encoding ourselves with decades-old battle tested code in select.el. > I've seen some old grumblings and apparently some new problem with > Xinput2-related code. But I've been happily using gtk-based emacs since > 20 years or so? So, I find it strange if it suddenly changed to > "abysmal" and selected for immediate demotion to be non-default. The changes happened gradually after GTK 3.4. I guess people don't notice gradual changes. > I'm not seeing any of that. What about Gimp & Inkscape -- don't they > support Xinput2? The GIMP still uses GTK+ 2.x due to difficulties porting to GTK 3. It does not use XInput 2. Inkscape uses GTK 3 and suffers from the same crashes that Emacs does if the trackpad is disabled upon typing. Its usage patterns differ from Emacs's, so the bug occurs there less. After all, people do not type much in a vector graphics editor. > There are always excuses for bugs of course :-) In this case it seems > that emacs exercises some old code in new ways, while the maintainers > are concentrating on Wayland. The point is, we support X11, and if GTK cannot properly support X11, the GTK build should not be the default. The priorities of the GTK maintainers are not an excuse.