Hello,
I am porting a GTK3 application into GTK4. This application has a complex input window with number of various widgets. The widget which receives focus by default depends on application logic and is set by gtk_widget_grab_focus() called on that widget. In most cases this widget is of GtkEntry.
However, the focus actually goes to the next widget on the window. But if I execute this application under gdb with a breakpoint set on gtk_widget_grab_focus() function and continue through all breaks, the focus is set correctly.
What I should look at to fix this issue?
Tx