Modal Dialogs in Linux Ubuntu

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

Modal Dialogs in Linux Ubuntu

Post 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
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Re: Modal Dialogs in Linux Ubuntu

Post by SamuraiCrow »

GTK2+ is supported but GTK 3 is not. Try installing the older version of GTK.
I'm on registered MorphOS using FlowStudio.
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post 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)
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Modal Dialogs in Linux Ubuntu

Post by airsoftsoftwair »

Does the "Dialogs" example that comes with RapaGUI work?
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post 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.
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post by sashapont »

Other app crash in linux Ubuntu is
Case "DoubleClick": on list view
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Modal Dialogs in Linux Ubuntu

Post by airsoftsoftwair »

Please post some very brief sample code and also specify your exact Ubuntu version.
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post 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
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Modal Dialogs in Linux Ubuntu

Post by airsoftsoftwair »

Ok, I'll check this.
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

Re: Modal Dialogs in Linux Ubuntu

Post by sashapont »

"TitleClick"
In linux always crash too
Post Reply