Sign in Join

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

Mailing lists / lazarus / 2015-03

GTK2 console errors

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi,

When running a LCL-GTK2 application started from a Linux console, I occasionally get the following GTK2 errors. I haven't pinpointed the exact environment that causes this. I'm running the FPCUnit GUI Test Runner and see this error on occasion when I switch tabs in the GUI Test Runner app. The error seems to be depending on what widget has focus at the time I click to change tabs.

==================================
(guitestgradebookapi:12398): Gtk-CRITICAL **: IA__gtk_window_set_focus: assertion `gtk_widget_get_can_focus (focus)' failed

(guitestgradebookapi:12398): Gtk-CRITICAL **: IA__gtk_window_set_focus: assertion `gtk_widget_get_can_focus (focus)' failed

(guitestgradebookapi:12398): Gtk-CRITICAL **: IA__gtk_window_set_focus: assertion `gtk_widget_get_can_focus (focus)' failed

==================================

Is this something I need to worry about (looking at the text "Gtk-CRITICAL") and that I need to report as a bug in Mantis? I'm using a fairly up to date Lazarus trunk: Lazarus 1.5 r47664 FPC 2.6.4 x86_64-linux-gtk 2

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

zeljko
to Graeme Geldenhuys
Graeme Geldenhuys wrote 25 lines
Hi, When running a LCL-GTK2 application started from a Linux console, I occasionally get the following GTK2 errors. I haven't pinpointed the exact environment that causes this. I'm running the FPCUnit GUI Test Runner and see this error on occasion when I switch tabs in the GUI Test Runner app. The error seems to be depending on what widget has focus at the time I click to change tabs. ================================== (guitestgradebookapi:12398): Gtk-CRITICAL **: IA__gtk_window_set_focus: assertion `gtk_widget_get_can_focus (focus)' failed (guitestgradebookapi:12398): Gtk-CRITICAL **: IA__gtk_window_set_focus: assertion `gtk_widget_get_can_focus (focus)' failed (guitestgradebookapi:12398): Gtk-CRITICAL **: IA__gtk_window_set_focus: assertion `gtk_widget_get_can_focus (focus)' failed ================================== Is this something I need to worry about (looking at the text "Gtk-CRITICAL") and that I need to report as a bug in Mantis? I'm using a fairly up to date Lazarus trunk: Lazarus 1.5 r47664 FPC 2.6.4 x86_64-linux-gtk 2

I see such things on many other gtk2 apps. Yes, maybe we can prevent if it's up to LCL implementation, but I doubt since I see such things with firefox or some other gtk2 apps when running them from terminal.

zeljko

Reply by email