Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

open_dialog not functional on MacOS #670

Open
bobaronoff opened this issue Sep 30, 2022 · 1 comment
Open

open_dialog not functional on MacOS #670

bobaronoff opened this issue Sep 30, 2022 · 1 comment

Comments

@bobaronoff
Copy link

Having difficulty getting open_dialog() to work. Simple script as follows:

using Gtk
f = open_dialog("Pick a file" )

When run (via VSCODE) the dialog does appear. However any attempt to interact with the dialog causes the dialog to disappear and the REPL closes.

Environment: CPU- M1 apple silicon, MAC/OS - Monterey 12.6, Julia 1.8.1, gtk+3(3.24.34) installed via Homebrew, VSCode(1.71.2)

When run via the terminal interface, the following is displayed:

Assertion failed: (!surface->finished), function _cairo_surface_release_source_image, file cairo-surface.c, line 2092.
signal (6): Abort trap: 6
in expression starting at REPL[2]:1
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 631458 (Pool: 630716; Big: 742); GC: 1
zsh: abort /Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia

Is this a bug or am I doing something incorrect?

Thank you !!

PS: Have trialled open_dialog_native() in this environment. It works the first 1-2 times called. However if called a few times the dialog fails to dismiss and Julia becomes unresponsive necessitating a 'force quit'.

@jonniediegelman
Copy link

I'm having the same issues. Both for open_dialog just crashing and open_dialog_native hanging indefinitely.

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

No branches or pull requests

2 participants