Modal Dialogs in Linux Ubuntu

Discuss GUI programming with the RapaGUI plugin here
sashapont
Posts: 86
Joined: Thu Aug 03, 2017 2:49 pm

Modal Dialogs in Linux Ubuntu

Post by sashapont » Tue Jun 05, 2018 4:43 pm

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

SamuraiCrow
Posts: 171
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: Modal Dialogs in Linux Ubuntu

Post by SamuraiCrow » Tue Jun 05, 2018 8:27 pm

GTK2+ is supported but GTK 3 is not. Try installing the older version of GTK.

sashapont
Posts: 86
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post by sashapont » Tue Jun 05, 2018 8:29 pm

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)

User avatar
airsoftsoftwair
Posts: 2572
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Modal Dialogs in Linux Ubuntu

Post by airsoftsoftwair » Wed Jun 06, 2018 5:42 pm

Does the "Dialogs" example that comes with RapaGUI work?

sashapont
Posts: 86
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post by sashapont » Wed Jun 06, 2018 6:24 pm

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.

sashapont
Posts: 86
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post by sashapont » Wed Jun 06, 2018 10:01 pm

Other app crash in linux Ubuntu is
Case "DoubleClick": on list view

User avatar
airsoftsoftwair
Posts: 2572
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Modal Dialogs in Linux Ubuntu

Post by airsoftsoftwair » Sat Jun 09, 2018 11:53 am

Please post some very brief sample code and also specify your exact Ubuntu version.

sashapont
Posts: 86
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post by sashapont » Sat Jun 09, 2018 2:44 pm

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

User avatar
airsoftsoftwair
Posts: 2572
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Modal Dialogs in Linux Ubuntu

Post by airsoftsoftwair » Sat Jun 09, 2018 5:56 pm

Ok, I'll check this.

sashapont
Posts: 86
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post by sashapont » Tue Jul 03, 2018 5:10 pm

"TitleClick"
In linux always crash too

Post Reply