Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-09

LCL-GTK2 warning about TScrollBox

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I'm using a TScrollBox in a LCL-GTK2 application. When I run the application from a console window, I see the following warning appear multiple times.

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

Is this something I need to be concerned about? The program seems to behave just fine though.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 12 lines
Hi, I'm using a TScrollBox in a LCL-GTK2 application. When I run the application from a console window, I see the following warning appear multiple times. WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating during paint message: TScrollBox Is this something I need to be concerned about? The program seems to behave just fine though.

Maybe.
You can set a breakpoint on the warning and look at the callstack.

Mattias

Reply by email

Alexey T
to Mattias Gaertner
Mattias Gaertner wrote 6 lines
When I run the >application from a console window, I see the following warning appear >multiple times. > >WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating during paint >message: TScrollBox

I asked the same thing in the StackOver, about week-3 ago. Seems you see it. And i see that this unneeded err msg, in console, is gone now. I don't see it when CudaText runs from console. When it's fixed?

Alexey

Reply by email

zeljko
to Alexey T
Alexey T wrote 11 lines
On 25.09.2016 15:40, Mattias Gaertner via Lazarus wrote: > When I run the > >application from a console window, I see the following warning appear > >multiple times. > > > >WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating during paint > >message: TScrollBox I asked the same thing in the StackOver, about week-3 ago. Seems you see it. And i see that this unneeded err msg, in console, is gone now. I don't see it when CudaText runs from console. When it's fixed?

AFAIR, I've inserted that warning since it shows problem. It's nasty to call update or repaint inside paint event on any widgetset (can run into endless loop).

zeljko

Reply by email