holochain / holoscape

A complete end-user deployment of a Holochain conductor with UI for administration and a run-time for hApp UIs
63 stars 8 forks source link

Linux GtkDialog needs a parent to be modal #31

Open adamth0mps0n opened 4 years ago

adamth0mps0n commented 4 years ago

Installing on Ubuntu without the packaged Gnome desktop produces an error. See log below.

sna@sna-XPS-13-9343:~/Downloads/Holoscape-v0.0.3-alpha-Ubuntu-18.04-x64$ ./Holoscape.sh Registering scheme as priviliged: holoscape-happ (electron) 'setHighlightMode function' is deprecated and will be removed. Registering file protocol: holoscape-happ connectConductor ws://localhost:4435 Gtk-Message: 12:55:06.230: GtkDialog mapped without a transient parent. This is discouraged. connectConductor ws://localhost:4435 Passphrase socket not found (yet)

I believe that the GtkDialog should have a parent to be modal to. Perhaps gtk_window_set_transient_for() which sets this window to always be on top of, or transient for, another one and optionally gtk_window_set_modal() to make it a modal dialog.

holoscape_ubuntu18 04_v2

lucksus commented 4 years ago

I can see from the screenshot that you used the Ubuntu release build. I suspect there are issues with this build. Could you try the generic Linux release, @adamth0mps0n? I have more confidence in the binaries included there.

lucksus commented 4 years ago

Also, which Ubuntu version is this running on? The Ubuntu-18.04-LTS build most likely only works on that exact version.

adamth0mps0n commented 4 years ago

I am using Ubuntu-18.04-LTS but with a non standard desktop. I dont have any trouble running other ubuntu apps. Judging by the error message it would appear that the gtkDialogue needs a parent to be set. Such as gtk_window_set_transient_for() which sets this window to always be on top, or transient for, another one and optionally gtk_window_set_modal() to make it a modal dialog.