GTK "critical" messages generated by TabControl Tabs
Original Reporter info from Mantis: dbannon @davidbannon
-
Reporter name: David
Original Reporter info from Mantis: dbannon @davidbannon
- Reporter name: David
Description:
A message "Gtk-[1;35mCRITICAL[0m **:[34m16:18:25.362[0m: IA__gtk_widget_realize: assertion 'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed" when a Tab within a TabControl is created. It does not seem to be associated with any other bad behavior but the word, "critical" does create some concern with end users.
It appears to be associated with revision r63897 where a line was added to gtk2proc.inc at 4070 calling gtk_widget_realize. It dealt with #30385 (closed), I have not provided a patch because I guess the line does need to be there, somehow differently ?
This GTK message even pops up when starting Lazarus itself, if it was built from recent source. Not a good look.
Was introduced into trunk about three weeks ago.
Steps to reproduce:
On a form, put a TabControl, right click the control and choose to add a tab or two.
Run the form, error messages appear on console output.
Mantis conversion info:
- Mantis ID: 37924
- Platform: Linux
- Version: 2.1 (SVN)
- Fixed in revision: r64003 (#32439437)