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
Message #11 received at 51111 <at> debbugs.gnu.org (full text, mbox):
> 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.
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.