TMainMenu: setting Item text property at runtime leads assertion failure

Issue #194 resolved
Former user created an issue

Reproduce: add TMainMenu to the form and add one TMenuItem.

// procedure TForm1.FormCreate(Sender: TObject); begin MenuItem1.Text := 'Test'; end;

Now starting the application results in the following message in the PAServer terminal window: (Project1:3291): Gtk-CRITICAL **: 10:17:02.572: gtk_check_menu_item_set_active: assertion 'GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed

Tested with Delphi Tokyo/Rio and Ubuntu 18.04.1 TLS

Comments (1)

  1. Log in to comment