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

Unable to Open File via File URL Link -- Add Cancel Button #244

Closed
JMichaelTX opened this issue Nov 18, 2015 · 5 comments
Closed

Unable to Open File via File URL Link -- Add Cancel Button #244

JMichaelTX opened this issue Nov 18, 2015 · 5 comments

Comments

@JMichaelTX
Copy link

Quiver 3.0 on Yosemite 10.10.5

When I click on a link in Quiver to a file on my Mac, I get this error:

The application “Quiver.app” does not have permission to open “How to Use Error Handler.scpt.”

This same link works fine in Evernote.

I have given Quiver.app permission to control my Mac in Mac Preferences > Security & Privacy > Privacy > Accessibility

Is this a BUG, or it there some setting I need to change?

@ylian
Copy link
Member

ylian commented Nov 18, 2015

How did you create the file link?

All the apps from Mac AppStore need to be sandboxed, so is Quiver. The sandbox limitation means that you can't open an arbitrary file on the file system from Quiver, without explicitly giving Quiver the permission first. This is different from the permission settings in Accessibility.

For a sandboxed app, there are two ways permissions can be granted to the app:

  1. The user uses the "Open File" panel to select a file.
  2. The user drags the file into the app.

So if you manually typed in the file link, it won't work. If you use the "Attach file" button on the toolbar or dragged the file into the note, Quiver will be able to open the file afterwards.

@ylian
Copy link
Member

ylian commented Nov 18, 2015

If you are tired of dragging in one file at a time, simply drag in a top folder, for example, your Desktop folder, or your Dropbox folder, etc. That gives Quiver permission to open any file inside that folder.

@JMichaelTX
Copy link
Author

For a sandboxed app, there are two ways permissions can be granted to the app:

  1. The user uses the "Open File" panel to select a file.
  2. The user drags the file into the app.

OK, thanks. That works great!

BTW, on the popup window to select Link or Copy, it would be great to also have a "Cancel" button.

@ylian
Copy link
Member

ylian commented Nov 18, 2015

Yeah, that makes sense. I will add a "cancel" button. Leave this ticket open for that.

@JMichaelTX JMichaelTX changed the title Unable to Open File via File URL Link Unable to Open File via File URL Link -- Add Cancel Button Nov 21, 2015
@ylian
Copy link
Member

ylian commented Feb 9, 2016

The "Cancel" button is added in 3.0.1.

@ylian ylian closed this as completed Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants