GNU bug report logs -
#51111
28.0.50; Wrong point position on mouse click when using line-height on scaled text
Previous Next
Reported by: Umar Ahmad <ahmad.umar2008 <at> yahoo.in>
Date: Sat, 9 Oct 2021 19:55:01 UTC
Severity: normal
Tags: fixed
Found in version 28.0.50
Done: Umar Ahmad <ahmad.umar2008 <at> yahoo.in>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Mon, 11 Oct 2021 07:18:17 -0700
> Cc: Umar Ahmad <ahmad.umar2008 <at> yahoo.in>, 51111-done <at> debbugs.gnu.org
>
> Eli Zaretskii <eliz <at> 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 <at> 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...
This bug report was last modified 3 years and 225 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.