bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69140: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if fo


From: Aleksandr Vityazev
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

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 via email to

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