Page 1 of 1

Lazarus – Linux – WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating

Lazarus – Linux – WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
Examples: "MacOS X - Your question", "MS Word - Your Tip or Trick".

Please note that switching to another language when reading a post will not work!
Posts will not have a translated counterpart.




RSS Feed

Home Forums Software Development Delphi, Lazarus, Free Pascal Lazarus – Linux – WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating

This topic contains 0 replies, has 1 voice, and was last updated by  hans 2 months, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • 11859

    hans
    Keymaster

    So, while developing RenameMyTVSeries, I ran into a warning under Linux, when starting the application from Shell (CLI);

    WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating during paint message: TfmRMTV

    When looking online, I have noticed that I’m most certainly not the only one encountering this message.
    What seems to be the case is that during an “OnPaint” event, somehow the code triggers another “OnPaint” event, for example by Invalidating a control, or calling for a Refresh or Repaint.

    Fix: look at the OnPaint event of mentioned control (in the error message above: TfmRMTV). You’re probably triggering, accidentally, another OnPaint event for that same control.

Viewing 1 post (of 1 total)



You must be logged in to reply to this topic.