unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Umar Ahmad <ahmad.umar2008@yahoo.in>
Cc: 51111@debbugs.gnu.org
Subject: bug#51111: 28.0.50; Wrong point position on mouse click when using line-height on scaled text
Date: Sun, 10 Oct 2021 17:17:03 +0300	[thread overview]
Message-ID: <831r4trmlc.fsf@gnu.org> (raw)
In-Reply-To: <CAFHo54e46z7+W9dCM25+9NKqri6knQqP2HPKTqP3f7k=nx_6kw@mail.gmail.com> (bug-gnu-emacs@gnu.org)

> 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.





  parent reply	other threads:[~2021-10-10 14:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAFHo54e46z7+W9dCM25+9NKqri6knQqP2HPKTqP3f7k=nx_6kw.ref@mail.gmail.com>
2021-10-09 19:53 ` bug#51111: 28.0.50; Wrong point position on mouse click when using line-height on scaled text Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-09 21:23   ` Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-10 14:17   ` Eli Zaretskii [this message]
2021-10-11 14:18     ` Stefan Kangas
2021-10-11 15:55       ` Eli Zaretskii
2021-10-11 19:15         ` Stefan Kangas
2021-10-11 19:52           ` Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831r4trmlc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=51111@debbugs.gnu.org \
    --cc=ahmad.umar2008@yahoo.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).