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

savedialog() on MacOSX throws UndefVarError #414

Open
jakkos-net opened this issue Feb 17, 2022 · 6 comments
Open

savedialog() on MacOSX throws UndefVarError #414

jakkos-net opened this issue Feb 17, 2022 · 6 comments

Comments

@jakkos-net
Copy link

using Interact, Blink
body!(Window(), savedialog())

causes
image
on MacOSX

@beorostica
Copy link

I can reproduce your problem and additionally the function opendialog() is not working either and throws the same problem.

The issue should be solved in the InterectBase.jl package. Apperently, it is not enough to define a theme variable (for example with the gettheme() function) since, after editing the source code, the opendialog() widget is not being displayed once the button is clicked.

@mkitti
Copy link
Contributor

mkitti commented May 17, 2023

What version of Interact and InteractBase are you using?

using Pkg
Pkg.status(["Interact","InteractBase"])

@beorostica
Copy link

I have the problem when using the latest versions of Interact and InteractBase (v0.10.5 and v0.10.9 respectively).
image

However, if I use the InteractBase v0.10.5, I don't have the issue.
image

@mkitti
Copy link
Contributor

mkitti commented May 18, 2023

The right side of the stack trace would have been really useful, but I see the issue is in https://github.com/piever/InteractBase.jl/blob/0a91fe6d605cafcb27b1b9c15d5fea568fb187da/src/input.jl#L113

@mkitti
Copy link
Contributor

mkitti commented May 18, 2023

I filed a bug report with InteractBase.jl
JuliaGizmos/InteractBase.jl#176

@mkitti
Copy link
Contributor

mkitti commented May 18, 2023

Fix proposed in JuliaGizmos/InteractBase.jl#177

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

3 participants