lhelp not working (in some Linux systems)
- Lazarus/FPC Version: Main
- Operating System: Linux U20.04, Debian Bookworm, Mate
- CPU / Bitness: 64
What happens
Pressing F1 when cursor is on an appropriate term opens a tiny, non-responsive LHelp window, top left.
What did you expect
LHelp should display help about the term under the IDE cursor.
Steps to reproduce
Open a project in the Lazarus IDE, move cursor to a term (covered by Help), press F1. Its probable this only shows up in GTK2 and even then, possible, on specific installs. Confirmed in U20.04 Mate, Debian Bookworm.
See https://forum.lazarus.freepascal.org/index.php/topic,63501.msg481163.html
Problem appears to come in with 0645aa9e Feb 18, 2023 and is caused by the call to SetWindowSizeAndPosition(PGtkWindow(MainWidget), LCLControl); in the method procedure SendSizeNotificationToLCL(aWidget: PGtkWidget); in gtk2proc.inc
SendSizeNotificationToLCL() appears to be being called in an endless loop.
The commit was made by rich2014
David