From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#74590: 31.0.50 [scratch/igc branch]; key input sometimes skip fcitx input method preedit box Date: Sat, 30 Nov 2024 11:55:42 +0100 Message-ID: References: <87iks5xayc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37224"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pip Cet , Yikai Zhao , 74590@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 30 11:57:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tHLA3-0009b6-Dj for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Nov 2024 11:57:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHL9t-00040T-W5; Sat, 30 Nov 2024 05:57:06 -0500 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 1tHL9q-0003zj-Ne for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 05:57:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHL9q-00032f-9s for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 05:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Dv/DqG2YM8esuvlVj40G2hKTYBDl5T6/VuGGFgStxyk=; b=biSH2Gj3BXaHwXpqIlbTv+x72JiFlKa3URNcqyrA6asBe8l7mglG1Ntwh3b1vfBHki2d1c7D/I7RzOnr1DBSYIc0rlthR4KJgndjVsxy0eNEyA/wZbOHhSruaWncnN0arVG1MXtkM/tYqjgpM3/cCMNhnGTGsp/kYUdUqdy6Lb9mWAk8/zHkj4k1dFdzMUu8llOC2yH2S9F/Q3Rizc7o0CKWSoPkj5kwxHHluvlplNoag3wN7INnRfbgf3Z1O0wSV3zk+oAvVjjdt9NfaT/yX1NK/E248wcp2741hQUhsNyH0FutXJzKvPu53iKEOEqM6r7MsK2JaFmT8Qnta7n1yg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHL9q-0001i9-52 for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 05:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Nov 2024 10:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74590 X-GNU-PR-Package: emacs Original-Received: via spool by 74590-submit@debbugs.gnu.org id=B74590.17329642076542 (code B ref 74590); Sat, 30 Nov 2024 10:57:02 +0000 Original-Received: (at 74590) by debbugs.gnu.org; 30 Nov 2024 10:56:47 +0000 Original-Received: from localhost ([127.0.0.1]:45659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHL9b-0001hR-3z for submit@debbugs.gnu.org; Sat, 30 Nov 2024 05:56:47 -0500 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:46312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHL9Z-0001hK-KQ for 74590@debbugs.gnu.org; Sat, 30 Nov 2024 05:56:46 -0500 Original-Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-434a0fd9778so24270895e9.0 for <74590@debbugs.gnu.org>; Sat, 30 Nov 2024 02:56:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732964144; x=1733568944; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Dv/DqG2YM8esuvlVj40G2hKTYBDl5T6/VuGGFgStxyk=; b=UTnvVE1cWwnVfyaaxWv9BKFKHwyrnaP2evgtimhZoAiFMdTRWDKfOSeYHUokbPRKrZ IHD2JRVI2SVMLsg2kflvjcQByxSgvO2AzvgKXZObj8kf0gE86vviAZAnAHBnWD+xXmvF CfPMtnkoXMCiSFuIB/BDFLu+k+ia5Q3OlmrTkf2qwv/U59ZuhxRqJK0zuJtuI/mxVECd PqFRK1mnYCgcETTtgzvlZvhmi8yG+1GywPJ1rOubWzWi4LFcQ1dfYQ3smRtswSJRYHSE JIgzKJcxFYa8j4IPMjn9G2m583XbNCn/W/B6UK6Qf6LMlc+Aj8bOcK8yp6ZdoQ3E9ZQC MJfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732964144; x=1733568944; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Dv/DqG2YM8esuvlVj40G2hKTYBDl5T6/VuGGFgStxyk=; b=aJwXuIy3T//G8uhbHMTpfCZSqMZFezkF9LdVUUaFFSAcF6HKWHYRNe3qk1V0y5cxjF HQN3AzPM7+/IdnmlggEReW8xt4LradFuOyCy+zKiNaY4CE+xjcurhUF6Co8ZHXJMkl0a Hc28cbY1dlqqJA8gZeaMlmGQQH9QdHnZYFFoWro50dwni1qMVGCc1pRyA/dLgQ1gwACQ FSQrtW4z+W8Rq/kFMUHSO7C+4B5fdahbI82PumSw0Y5Y3IORIYF1MizhcXYbC0Ka2Pjl zviDNy8n7e2qyVg6emt46S5AHRmA3KZOtQM5URg2Nt2CtJlxyaE7fslbA4qOJESK2E0I 5ObQ== X-Forwarded-Encrypted: i=1; AJvYcCXhZLJj/enWwGHVB8LHFNGFMw6HyFjiylxk7eckpPnDw+jJFXnho0juI9WCdaCPeQAcM6gJLg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzuX+ZSs0X2Jl8H1rZhWFYxNCvnMUtk6R9vhkmf/bL8DxT9Jhw1 3ET0EvyjtioUHLkUA2pzlQfAwdsczQ2nzgkEawwFA0061iaBJQbR2PwFxQ== X-Gm-Gg: ASbGncsyuC/0diJT8CYBXxK7z9kLuzfNtIy6FTf9cnA6BU5YA37KoTyzgYpagc2vtF4 NVVxK9ERNDZtVw0a1SkVt1HiNcE7GZ/Xqz+AzO4dheQUTvo5X0rDQATe6XRND33mClbcnSBPueM 8da0BsBV5MqjeHStqq5MvE9pdyzIxPuR5qCWwSVZu/xb5R08Mp2hMGXsNd2rNw1SBOweke3m6VK 4X1Lq1zF1YzCnFJHDqchNHf2/BEMK3rDsFF8GvT+gfArKq4lGs5GAujCuMo09CsAX8RI1HlINpu BQGHcYb4XsKbxfo1o74Pn+DFsU7+4x+RbnQt4Tubs2nv3D4pph8IMN9A+w== X-Google-Smtp-Source: AGHT+IH2YomH/4vPPZBRCphsVZHjsiLjKtBCibTndUIzgbdOUWJ/17Q1RyNapT24cTqGYz5tWpgbVw== X-Received: by 2002:a5d:47cb:0:b0:382:6f2:df7b with SMTP id ffacd0b85a97d-385c6eb6c94mr13704211f8f.12.1732964144359; Sat, 30 Nov 2024 02:55:44 -0800 (PST) Original-Received: from pro2 (p200300e0b7360c002107e9c365915f4e.dip0.t-ipconnect.de. [2003:e0:b736:c00:2107:e9c3:6591:5f4e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa78120dsm112801555e9.24.2024.11.30.02.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2024 02:55:43 -0800 (PST) In-Reply-To: <87iks5xayc.fsf@gmail.com> (Helmut Eller's message of "Sat, 30 Nov 2024 11:39:07 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296152 Archived-At: Helmut Eller writes: > On Fri, Nov 29 2024, Gerd M=C3=B6llmann wrote: > >>> Not sure if that is used in your build, but in x_display_info (xterm.h) >>> I see a number of struct frame pointers that are not fixed in fix_frame, >>> starting with >>> >>> struct frame *x_focus_frame; >>> >>> And if it's not that display info that is being used, I'd bet a small >>> amount that whatever is actually used (pgtk_display_info?) has a similar >>> problems. >>> >>> (Can't fix this myself, sorry, I only have macOS.) > > I think the x_display_info struct (I guess usually only one exists) is > allocated in x_term_init (or pgtk_term_init) with igc_xzalloc_ambig. So > theoretically it doesn't need to be traced. Then we're good, sorry for the noise. What made me suspicious is that we have this in fix_frame: Lisp_Object *nle =3D &FRAME_DISPLAY_INFO (f)->name_list_element; IGC_FIX12_OBJ (ss, nle);