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: Stefan Kangas
Subject: bug#51111: 28.0.50; Wrong point position on mouse click when using line-height on scaled text
Date: Mon, 11 Oct 2021 07:18:17 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

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.





reply via email to

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