From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51111: 28.0.50; Wrong point position on mouse click when using line-height on scaled text Date: Mon, 11 Oct 2021 18:55:13 +0300 Message-ID: <834k9nr1y6.fsf@gnu.org> References: <831r4trmlc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36287"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ahmad.umar2008@yahoo.in, 51111-done@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 11 18:00:59 2021 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 1mZxjV-0009Dx-9L for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 18:00:57 +0200 Original-Received: from localhost ([::1]:53010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZxjT-00018r-H0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 12:00:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZxfj-0006FU-1x for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 11:57:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZxfi-0005GC-Pi for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 11:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZxfi-0002pi-Gu for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 11:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Oct 2021 15:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51111 X-GNU-PR-Package: emacs Original-Received: via spool by 51111-done@debbugs.gnu.org id=D51111.163396780010860 (code D ref 51111); Mon, 11 Oct 2021 15:57:02 +0000 Original-Received: (at 51111-done) by debbugs.gnu.org; 11 Oct 2021 15:56:40 +0000 Original-Received: from localhost ([127.0.0.1]:60730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZxfB-0002ov-FI for submit@debbugs.gnu.org; Mon, 11 Oct 2021 11:56:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZxf0-0002oZ-Sr for 51111-done@debbugs.gnu.org; Mon, 11 Oct 2021 11:56:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59006) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZxet-0004qs-On; Mon, 11 Oct 2021 11:56:13 -0400 Original-Received: from [87.69.77.57] (port=4149 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZxe7-0004tT-Rx; Mon, 11 Oct 2021 11:55:54 -0400 In-Reply-To: (message from Stefan Kangas on Mon, 11 Oct 2021 07:18:17 -0700) 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" Xref: news.gmane.io gmane.emacs.bugs:216935 Archived-At: > From: Stefan Kangas > Date: Mon, 11 Oct 2021 07:18:17 -0700 > Cc: Umar Ahmad , 51111-done@debbugs.gnu.org > > Eli Zaretskii writes: > > >> Date: Sun, 10 Oct 2021 01:23:33 +0530 > >> From: Umar Ahmad via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" > >> > >> Steps to reproduce with emacs -Q > >> - Open a new buffer (C-x b *test-buffer RET) > >> - Yank few lines of text from somewhere > >> - Eval (M-:) the following: > >> `(setq-default default-text-properties '(line-height 1.1))` > >> - Scale text to make it larger (C-x C-= = = =) > >> - Click on any line to place the point at that location. > >> - Point is placed few lines further below the click position > >> > >> - Reset the line-height to nil by evaluating: > >> `(setq-default default-text-properties '(line-height nil))` > >> - Click on any line to place point at that location. > >> - Point is placed correctly > > > > Thanks, should be fixed now on the emacs-28 branch. > > I'm therefore closing this bug report. I was waiting for the OP to test the change...