bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51111: 28.0.50; Wrong point position on mouse click when using line-


From: Eli Zaretskii
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

> From: Stefan Kangas <stefan@marxist.se>
> Date: Mon, 11 Oct 2021 07:18:17 -0700
> Cc: Umar Ahmad <ahmad.umar2008@yahoo.in>, 51111-done@debbugs.gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> 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" <bug-gnu-emacs@gnu.org>
> >>
> >> 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...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]