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

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

bug#56561: 29.0.50; Infloop in try_window


From: Po Lu
Subject: bug#56561: 29.0.50; Infloop in try_window
Date: Sat, 16 Jul 2022 18:34:17 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> The point I was making was that aborting in such a situation (when there
>> is no row where ends_at_zv_p is true) will result in false positives
>> when the tooltip is intentionally too small to display the entire text.

> Yes, and so this situation should be detected, and we should avoid
> triggering the assertion violation in that case.

Hmm.  I might've missed where you explained that, but how would I go
about detecting that situation?

The way I understand the code is that we set the window dimensions to
the max tooltip size, create a glyph matrix of that size, and then call
try_window.

Thanks.




reply via email to

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