fpGUI icon indicating copy to clipboard operation
fpGUI copied to clipboard

fpGUI applications freeze on Windows (and possibly other platforms)

Open deanm73 opened this issue 2 years ago • 2 comments

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.

deanm73 avatar Jun 08 '23 07:06 deanm73

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

ChrigiGee avatar Jan 28 '25 07:01 ChrigiGee

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

ChrigiGee avatar Feb 04 '25 05:02 ChrigiGee

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…

Image

This is my Update for hanging GUI, from July 30 2025. I used the developer branch.

Kind regards Chris

ChrigiGee avatar Jul 30 '25 14:07 ChrigiGee

Thank you @deanm73 for reporting this issue. I applied the change and tested, and it seems to have fixed the issue.

graemeg avatar Nov 25 '25 19:11 graemeg