From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lucius Chen 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: Sat, 3 Aug 2024 16:31:30 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f93caa061ec345b7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9972"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72422@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 03 19:24:31 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 1saIUY-0002Uu-T4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Aug 2024 19:24:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saITs-0005xb-Tx; Sat, 03 Aug 2024 13:23:48 -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 1saITo-0005ww-QD for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2024 13:23: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 1saITo-00078R-Dn for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2024 13:23:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=79GIXQaDBwrE6hn7iMIeFbQnx6btVIlXjG2sSZMmAy0=; b=vyX6+wvmDBnV/BiVFleNtiMF0rfO3b0tgOLiUqB3tQFNYWJTS1D+Ueq8VPsIl5SUY2IcJ9Ym0pAUUvE3IIXE5OV5+C4zUaf8Dgr2wzxN/BBXiRi7HJ/GqICFqgSyG4cK6a/3Ooqu2uC23BKGTgP0qVfO0Wwxhl4zwQ9dq+i+Wh2VppuUi54DXGF7TgJkwIj8WbDdKxAQx03F1baP1+Acab2PzgaThQ4050pB7E+S03oYFdijtqouFf07IIodWIzJjeazFgcUsxVoZaialtcoRHKggdtHi6smdyV4tGxSITvd/pWqTHCqgNC1DH3DEzR/0x8TDPuJwnCDBUa1FvBGTw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saIU8-0004iB-7w for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2024 13:24:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lucius Chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Aug 2024 17:24:04 +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.172270583218040 (code B ref 72422); Sat, 03 Aug 2024 17:24:04 +0000 Original-Received: (at 72422) by debbugs.gnu.org; 3 Aug 2024 17:23:52 +0000 Original-Received: from localhost ([127.0.0.1]:54755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saITv-0004gm-W5 for submit@debbugs.gnu.org; Sat, 03 Aug 2024 13:23:52 -0400 Original-Received: from mail-yw1-f173.google.com ([209.85.128.173]:55359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saACJ-0005sD-2J for 72422@debbugs.gnu.org; Sat, 03 Aug 2024 04:33:09 -0400 Original-Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-66599ca3470so76238167b3.2 for <72422@debbugs.gnu.org>; Sat, 03 Aug 2024 01:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722673902; x=1723278702; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=79GIXQaDBwrE6hn7iMIeFbQnx6btVIlXjG2sSZMmAy0=; b=HjvXim6ZEmKovfJagdyUNd0+oGc2tOBKeigpCKfeCbZWGeyxpyWYaEbE07siIHxktk hJlcKeLuMn2qFQUxNQ9P4u0YoE1mOMeGLhKXWtPHyOFiAmPKUswedJ2YkwHyrWPk34Z0 sIMns9GQ6LfO6S2JLtZzCO3mmyorGAw8aS3XePDiwmWEnHWt3vBOpkqiVgD6udxRNbfd pG6MxLDqscvdgmu0UdWtHU+iSnD4CJwqBQP63M4VhNDyO7JsnUD/eLtdDZH2LH8/0LU/ cjN8WnniJsWoVYwkNMushfgH2PbCYhvC/LEZKllOcydvNzMotNRiAbZ6laKEO8FoDv8/ rGow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722673902; x=1723278702; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=79GIXQaDBwrE6hn7iMIeFbQnx6btVIlXjG2sSZMmAy0=; b=T6me/XN0t3LOe64NNWsjcT+s10FNzJF/MJAeOXPjFGg5X9eBX/NnGSIzpA9jkCy72L N3lAZWB0Cdserz0QUQn9qj7+Vabu7Q3a6BpsTI+cceAeE2EANQmw5h+a+DjXgsK6BgAS n4eEZCyn1OyKfq1YOe2oelwfjPp4NmAZM/49ZhhcPLtyXYJtV0JdnQCSfMEXNQ5ll57O NOBQATTzy9PMFLFBzfDysFEgIqXyp7b9BernEb2FfFGf61Os9Y2BeLPcrKjpNwKFMfHM JcN1KRRbnwBIM/MelwKc4EagWnzqlKZlY0K9GCYA3pccZONT1opqn21jJcg0arz5gLyf IBVg== X-Gm-Message-State: AOJu0YxLcbxZp7oCS2asryDSSycm5Mfx0gVuBGby11TpCdIwmSfeVtW6 52wvG6Gqi0H8Srg6ZQZtwp0Du6FP5RiHMArRAazP8W86ZQNimEPlIPHPN8BV3J7RrqdK/vr2xtt pkOFpxQ30mtM4yVAMkQ+TtPTJitc= X-Google-Smtp-Source: AGHT+IFs4N7hEhP15n3YF/FJBDcmHnD6p6YYrCUG7/QmkhmIydJl1WM7hXJujIgw3o1quImUoVaw8nYjMJIOA08nSak= X-Received: by 2002:a0d:e484:0:b0:63b:df6e:3f6d with SMTP id 00721157ae682-68964390fe0mr66658817b3.37.1722673901680; Sat, 03 Aug 2024 01:31:41 -0700 (PDT) In-Reply-To: X-Mailman-Approved-At: Sat, 03 Aug 2024 13:23:49 -0400 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:289690 Archived-At: --000000000000f93caa061ec345b7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, I didn't see your latest patch. I tried the patch, and it does fix the issue. Thank you. Gerd M=C3=B6llmann =E4=BA=8E2024=E5=B9=B48=E6=9C= =883=E6=97=A5=E5=91=A8=E5=85=AD 12:28=E5=86=99=E9=81=93=EF=BC=9A > Gerd M=C3=B6llmann writes: > > > Lucius Chen writes: > > > >> Rime input method. https://github.com/rime/squirrel > >> > >> =E5=9C=A8 2024=E5=B9=B48=E6=9C=883=E6=97=A5=E6=98=9F=E6=9C=9F=E5=85=AD= =EF=BC=8CGerd M=C3=B6llmann =E5=86=99=E9=81=93= =EF=BC=9A > >> > >> Lucius Chen writes: > > > > (Please use Reply to All when responding, so that the bug list is kept > > informed.) > > > > Thanks for the link. Alas I can't read Chinese, and the automatic > > translation of the page isn't helpful. > > > > Can you please describe a way how to reproduce this for some non-Chines= e > > guy like me? And preferrably using built-in macOS means instead of > > third-party software? > > > > TIA > > Hm, could you also please try with this change? > > 1 file changed, 1 insertion(+), 1 deletion(-) > src/nsterm.m | 2 +- > > modified src/nsterm.m > @@ -7081,7 +7081,7 @@ - (void) setMarkedText: (id) string > - (NSRect) firstRectForCharacterRange: (NSRange) range > actualRange: (nullable NSRangePointer) > actualRange > { > - return NSZeroRect; > + return [self firstRectForCharacterRange: range]; > } > > #endif /* NS_IMPL_COCOA */ > --000000000000f93caa061ec345b7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, I didn't see your latest patch. I tried the pat= ch, and it does fix the issue. Thank you.

Gerd M=C3=B6llmann <gerd.moellmann@gmail.com> =E4= =BA=8E2024=E5=B9=B48=E6=9C=883=E6=97=A5=E5=91=A8=E5=85=AD 12:28=E5=86=99=E9= =81=93=EF=BC=9A
= Gerd M=C3=B6llmann <gerd.moellmann@gmail.com> writes:

> Lucius Chen <chenyh572@gmail.com> writes:
>
>> Rime input method. https://github.com/rime/squirrel
>>
>> =E5=9C=A8 2024=E5=B9=B48=E6=9C=883=E6=97=A5=E6=98=9F=E6=9C=9F=E5= =85=AD=EF=BC=8CGerd M=C3=B6llmann <gerd.moellmann@gmail.com> =E5=86=99=E9=81= =93=EF=BC=9A
>>
>>=C2=A0 Lucius Chen <chenyh572@gmail.com> writes:
>
> (Please use Reply to All when responding, so that the bug list is kept=
> informed.)
>
> Thanks for the link. Alas I can't read Chinese, and the automatic<= br> > translation of the page isn't helpful.
>
> Can you please describe a way how to reproduce this for some non-Chine= se
> guy like me? And preferrably using built-in macOS means instead of
> third-party software?
>
> TIA

Hm, could you also please try with this change?

1 file changed, 1 insertion(+), 1 deletion(-)
src/nsterm.m | 2 +-

modified=C2=A0 =C2=A0src/nsterm.m
@@ -7081,7 +7081,7 @@ - (void) setMarkedText: (id) string
=C2=A0- (NSRect) firstRectForCharacterRange: (NSRange) range
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 actualRange: (nullable NSRangePointer) actualRange
=C2=A0{
-=C2=A0 return NSZeroRect;
+=C2=A0 return [self firstRectForCharacterRange: range];
=C2=A0}

=C2=A0#endif /* NS_IMPL_COCOA */
--000000000000f93caa061ec345b7--