unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aleksandr Vityazev via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: luangruo@yahoo.com, mail@daniel-mendler.de, 69140@debbugs.gnu.org
Subject: bug#69140: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if font is too big
Date: Wed, 21 Feb 2024 23:22:27 +0300	[thread overview]
Message-ID: <87r0h536v0.fsf@disroot.org> (raw)
In-Reply-To: <86edd5mwms.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 21 Feb 2024 21:43:07 +0200")

On 2024-02-21 21:43, Eli Zaretskii wrote:

>> From: Aleksandr Vityazev <avityazev@disroot.org>
>> Cc: luangruo@yahoo.com,  mail@daniel-mendler.de,  69140@debbugs.gnu.org
>> Date: Wed, 21 Feb 2024 20:47:22 +0300
>> 
>> > I run test-dispatch, for example I press "r", which calls the
>> > minibuffer. At this point, Emacs is already starting to freeze for me; if
>> > I change the full-screen to windowed mode several times, everything gets
>> > worse.  If nothing happens after pressing "r" you can try other bound
>> > letters.
>> 
>> You could also try enlarging the font
>
> What you "eval-buffer", is the Emacs frame visible in its entirety on
> the screen, or are parts of it hidden because the font is too large?

part of the mode-lane is hidden, but otherwise everything is visible

> I tried different fonts and different sizes, and as long as I can see
> the frame on the screen, I don't see any hangs.  Maybe this only
> happens with pathologically large fonts, with which only a small part
> of the frame can be seen, but if so, why is this situation
> interesting?
>

with (set-face-attribute 'default nil :family "monospace" :height 440)
the result is the following:

--8<---------------cut here---------------start------------->8---
(list (window-height) (window-width)) => (13 53)

C-u C-x = (what-cursor-position) =>

display: by this font (glyph code):
ftcrhb:-    -Go Mono-regular-normal-normal-*-58-*-*-*-m-0-iso10646-1 (#x37)
--8<---------------cut here---------------end--------------->8---

I think this is still a reasonable size. I usually have my font height
set to 240, and recently I noticed that vertico was starting to lag at
this setting. Researching further, I found that the larger the font, the
more obvious the hang, and I also found the commit after which it all
started. I think that there is a bug here, but we need to investigate it
further and check it without pgtk on X.

-- 
Best regards,
Aleksandr Vityazev





  reply	other threads:[~2024-02-21 20:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-15 11:23 bug#69140: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if font is too big Aleksandr Vityazev via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-15 13:46 ` Eli Zaretskii
2024-02-15 14:29   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21 16:15     ` Aleksandr Vityazev via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21 16:38       ` Eli Zaretskii
2024-02-21 17:20         ` Aleksandr Vityazev via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21 17:47           ` Aleksandr Vityazev via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21 19:43             ` Eli Zaretskii
2024-02-21 20:22               ` Aleksandr Vityazev via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-02-22  6:21                 ` Eli Zaretskii
2024-02-22  6:37                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-22 10:59                     ` Aleksandr Vityazev via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-23  2:19                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-23 17:12                         ` Aleksandr Vityazev via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-23 17:59                           ` Eli Zaretskii
2024-02-21 18:56           ` Eli Zaretskii
2024-02-15 17:15   ` Aleksandr Vityazev 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=87r0h536v0.fsf@disroot.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=69140@debbugs.gnu.org \
    --cc=avityazev@disroot.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=mail@daniel-mendler.de \
    /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).