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#72422: 31.0.50; Bug: Rime input candidates always appear in the bottom-left corner on Emacs 31 Date: Fri, 02 Aug 2024 18:20:37 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9536"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 72422@debbugs.gnu.org To: Lucius Chen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 02 18:22:59 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 1sZv3T-0002KW-NS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Aug 2024 18:22:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZv3F-0007ow-RH; Fri, 02 Aug 2024 12:22:46 -0400 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 1sZv3E-0007gy-2E for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 12:22:44 -0400 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 1sZv3D-0004vn-Of for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 12:22:43 -0400 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=ksDfJTLKwoOK6+ldM3qmFHrQkZOzfyqL/y/J7f/U9XM=; b=K2fxJpOXojwtPv9otF/6Ox10i3l0yp3P63YVsRg7MeEd3iUAn1yAnfTRgkPM03J6/RGU8XFmJ0hK/bVOHvCl9jUeibWAqqTaGs759dCBY+TVvc8QItT3lPsD4XpmXIrC4Dyve9HUxs4bFEzTJSGS3LbutWrB/95/awOhwKzLNu4ZCPt1EOR6ESzIoK1nvO8XWlW92r/XflXhuks3XM6fDjukuXGNmhMdXighYBo1vQm1fvtMEqUyLbfsbxCFHmC23HzHYGhlbE24U9LuWxxsk1K/gYIbuZpgUuaNZoFO17Rlh1Zmzwxmdq2GMKweK9WJ9O3nm5pBJgSxRfYJYQCLFQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZv3V-0005Gs-W7 for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 12:23:02 -0400 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: Fri, 02 Aug 2024 16:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72422 X-GNU-PR-Package: emacs Original-Received: via spool by 72422-submit@debbugs.gnu.org id=B72422.172261572720197 (code B ref 72422); Fri, 02 Aug 2024 16:23:01 +0000 Original-Received: (at 72422) by debbugs.gnu.org; 2 Aug 2024 16:22:07 +0000 Original-Received: from localhost ([127.0.0.1]:53701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZv2c-0005Fg-Sc for submit@debbugs.gnu.org; Fri, 02 Aug 2024 12:22:07 -0400 Original-Received: from mail-ej1-f52.google.com ([209.85.218.52]:44303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZv2a-0005FA-Ok for 72422@debbugs.gnu.org; Fri, 02 Aug 2024 12:22:05 -0400 Original-Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a7a9cf7d3f3so1032761966b.1 for <72422@debbugs.gnu.org>; Fri, 02 Aug 2024 09:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722615640; x=1723220440; darn=debbugs.gnu.org; h=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=ksDfJTLKwoOK6+ldM3qmFHrQkZOzfyqL/y/J7f/U9XM=; b=ZILrkXyI5/ivryn02EHqHvGDLKieLhA1C9kzpahRV1C+FgvNuttkKrNlTnMX7Jb9n1 Jzb1V3p8ZluPDmCrqSVBBwihijQVLoBNmwEnzxoPKBU+qDrHe/RbbDNv7/7vW1U4anuf pPciOjdMrrERLJAA31cUTdbu8MikjLazeqUu4trbJXRD4sHw9rNzyLsQm2ondYYlD+NI esXdl+EgDTwQlOqwdjjkjUr5O73E4Z9BGTrNV9WLg5Ke1LQ9grST6YnlgPVZ5sX4nGrr C3Uak1BMiD+FBtvs5KhXxc9AAwKPO1ngeIuKl1X0geYoHPlyS6E5HxgCtHJaamciGBeP t/Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722615640; x=1723220440; h=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=ksDfJTLKwoOK6+ldM3qmFHrQkZOzfyqL/y/J7f/U9XM=; b=tMsvhtrac9QoWk2kQGMGBJ+ilwPMbs6HEok2OLASd6yOFDo2mbU2r7fQ3H6Mr3IRnC xwOnmhPQvSGx7BOvmFCdaIdXC659vxD9LCOkh8SgcyEiX+FvukZphJTOP9jyVyQKpWhE GJasG48oiqmE2oUf7Hoe8QzGo5ZJXjMWG/DbTbsVmmhzE5SLtA3GPV3E0UXioV8/kgRw leo2i3mhBISjQmJma/TutS29Va3/0Pz0GA3QuXqi+WTfp4LMP5aGthfoa7HZhN25dzRN pggmHeWkya2sCcAtGKHsQz+Kq42Pvnqo/RuiunLacvEv9SU+GTevooM5D2jxCRkuEjs+ /Aug== X-Gm-Message-State: AOJu0Yy7zNkB/6rwkH30dpAotfiK6N+R+fIZ7G3mJD8j0xTDTjmyqxzY l6XEDob8+5f/z5IcPXY24TQm4yv6c/mm+9EPT24xRagmY4+W9EzH9YS6ig== X-Google-Smtp-Source: AGHT+IHBjTjhRCnWjyGm8Q3M4P2C2VU3AOOOK2sURuxe0SlWZ8YT7Tuv+cvjStQ3EvHp+CyKusT5gw== X-Received: by 2002:a17:907:25c5:b0:a7a:ab8a:381 with SMTP id a640c23a62f3a-a7dc4fef243mr261848066b.37.1722615639655; Fri, 02 Aug 2024 09:20:39 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36458.dip0.t-ipconnect.de. [217.227.100.88]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9c0b62esm116101066b.62.2024.08.02.09.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 09:20:39 -0700 (PDT) In-Reply-To: (Lucius Chen's message of "Fri, 2 Aug 2024 23:18:14 +0800") 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:289646 Archived-At: Lucius Chen writes: > --text follows this line-- > > *Description:* > After updating to Emacs 31 (master branch), I found that the candidate > window for Rime input always appears in the bottom-left corner of the > screen. This issue seems to be related to the NSTextInputClient > implementation. > > *Steps to Reproduce:* > 1. Open Emacs 31 with the latest changes applied. > 2. Use Rime input to input text. > 3. Observe the position of the candidate window. > > *Expected Behavior:* > The candidate window should appear near the text insertion point, not in > the bottom-left corner of the screen. > > *Actual Behavior:* > The candidate window consistently appears in the bottom-left corner of the > screen. > > *Analysis:* > The issue seems to be caused by the following method in the > NSTextInputClient implementation always returning NSZeroRect: Could be. Can you please explain what "Rime input" is?