fpGUI applications freeze on Windows (and possibly other platforms)
When mouse enters fpGUI application, the application can enter endless loop of processing the paint messages. The issues can be fixed by adding line "FInvalidated:=True;" in procedure TfpgWidget.MsgPaint at line 1577 before "for i := 0 to ComponentCount-1 do" in src/corelib/fpg_widget.pas. This might also resolve issue #111.
DocView by fpGUI 1.4 have the same effect. Hangup, start immediately half screen.
System Windows 11...
bug, still exist January 2025.
Kind regards Chris
Update:
Worked last Day's with Main Branch (??? 1.4.1 ???) of fpGUI. DocView i can compiling after long time.
Crash (freezing) after start immediately. Over the half Window
Windows 11, February 04, 2025
Christian
Hi there,
I test it with "FInvalidated:=True;" like @deanm73 wrote. It's now changing, the GUI is no longer hang up, but now only blank a window…
This is my Update for hanging GUI, from July 30 2025. I used the developer branch.
Kind regards Chris
Thank you @deanm73 for reporting this issue. I applied the change and tested, and it seems to have fixed the issue.