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

The Gtk.jl dependency opens an extra icon in the dock on Mac #15

Closed
davidanthoff opened this issue May 30, 2018 · 1 comment · Fixed by #16
Closed

The Gtk.jl dependency opens an extra icon in the dock on Mac #15

davidanthoff opened this issue May 30, 2018 · 1 comment · Fixed by #16

Comments

@davidanthoff
Copy link
Collaborator

A simple using Rsvg from a julia REPL on Mac opens up an extra icon on the Mac dock, which seems not ideal. This is actually caused by using Gtk, which already opens that extra icon.

I'm not sure how one could work around this, but it seems not ideal. I guess one question is whether Rsvg.jl really needs a dependency on a full window toolkit? Might there be some way to get rid of that dependency? Or some other idea?

We are using Rsvg.jl in VegaLite.jl to implement all sorts of file export features, and it works great. But it is weird that if someone does using VegLite, that a new icon pops up on Macs.

@lobingera
Copy link
Owner

Looks like the real problem is in Gtk.jl, not in using it ...
The Gtk dependency was the simplest (and i think even still today the only) way to access glib which is used by librsvg for error reporting. I see two possible solutions:

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

Successfully merging a pull request may close this issue.

2 participants