Page 1 of 4

Modal Dialogs in Linux Ubuntu

Posted: Tue Jun 05, 2018 4:43 pm
by sashapont
When I try to create modal dialog in Linux Ubuntu I have error like
GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

But this dialog works in windows Mac an amiga

Re: Modal Dialogs in Linux Ubuntu

Posted: Tue Jun 05, 2018 8:27 pm
by SamuraiCrow
GTK2+ is supported but GTK 3 is not. Try installing the older version of GTK.

Re: Modal Dialogs in Linux Ubuntu

Posted: Tue Jun 05, 2018 8:29 pm
by sashapont
how I can check it and install?

I try to install this pack
sudo apt-get install libcanberra-gtk-module

App crash after this
moai.DoMethod("dlg2", "endmodal", 0)

Re: Modal Dialogs in Linux Ubuntu

Posted: Wed Jun 06, 2018 5:42 pm
by airsoftsoftwair
Does the "Dialogs" example that comes with RapaGUI work?

Re: Modal Dialogs in Linux Ubuntu

Posted: Wed Jun 06, 2018 6:24 pm
by sashapont
Yes it works. I try to create dialogs from code without xml files. App crashes after this
moai.DoMethod("dlg2", "endmodal", If i click close button in window tittle all ok.

Re: Modal Dialogs in Linux Ubuntu

Posted: Wed Jun 06, 2018 10:01 pm
by sashapont
Other app crash in linux Ubuntu is
Case "DoubleClick": on list view

Re: Modal Dialogs in Linux Ubuntu

Posted: Sat Jun 09, 2018 11:53 am
by airsoftsoftwair
Please post some very brief sample code and also specify your exact Ubuntu version.

Re: Modal Dialogs in Linux Ubuntu

Posted: Sat Jun 09, 2018 2:44 pm
by sashapont
If I add this to xml
<listview id="lv" notify="active; doubleclick">

and DoubleClick on list view in example dialogs
Version is ubuntu-18.04-desktop-amd64.iso

Re: Modal Dialogs in Linux Ubuntu

Posted: Sat Jun 09, 2018 5:56 pm
by airsoftsoftwair
Ok, I'll check this.

Re: Modal Dialogs in Linux Ubuntu

Posted: Tue Jul 03, 2018 5:10 pm
by sashapont
"TitleClick"
In linux always crash too