Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux GtkDialog needs a parent to be modal #31

Open
adamth0mps0n opened this issue Nov 6, 2019 · 3 comments
Open

Linux GtkDialog needs a parent to be modal #31

adamth0mps0n opened this issue Nov 6, 2019 · 3 comments

Comments

@adamth0mps0n
Copy link

adamth0mps0n commented Nov 6, 2019

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
Copy link
Collaborator

lucksus commented Nov 7, 2019

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
Copy link
Collaborator

lucksus commented Nov 7, 2019

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

@adamth0mps0n
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants