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

Automatically paste by default doesn't work since version 0.6.0 on macOS 10.14.6 #60

Closed
michaelkar opened this issue Oct 29, 2019 · 10 comments
Labels
bug Something isn't working

Comments

@michaelkar
Copy link

After updating to version 0.6.0, setting
defaults write org.p0deje.Maccy pasteByDefault true # default is false
has no effect.
Moving back to release 0.5.1 'paste by default' works as expected.

@p0deje
Copy link
Owner

p0deje commented Oct 29, 2019

It seems like there is a problem with how macOS identifies Maccy and its permissions. I need to figure it out, but try the following workaround for now:

  1. Open "Security & Privacy" preferences pane.
  2. Open "Accessibility" tab.
  3. Unlock to make changes.
  4. Remove Maccy from the list.
  5. Restart Maccy.
  6. Paste from Maccy now.

This should ask for permissions once again and it should work without issues since then.

@p0deje p0deje added the bug Something isn't working label Oct 29, 2019
@michaelkar
Copy link
Author

@p0deje the proposed flow solved the issue for me. Thank you!

@p0deje
Copy link
Owner

p0deje commented Jan 5, 2020

Should be better in 0.8.0

@synox
Copy link

synox commented Jan 9, 2020

Still happending with 0.8.2 on macos 10.15.2 (19C57)
The workaround on top works, but an existing user might never try that.

@p0deje
Copy link
Owner

p0deje commented Jan 9, 2020

@synox Can you show a screenshot of "Security & Privacy" -> "Accessibility" tab?

@synox
Copy link

synox commented Jan 9, 2020

Testing on my second mac: I had 0.7 Past by default did not work. now upgraded to 0.8.2. Paste by default does not work.
Accessibility does not list Maccy.
Screenshot 2020-01-09 at 15 48 20

(On my first mac, there was a ticked Maccy in Accessibility, but it only worked after removing the entry and pasting something. )

@p0deje
Copy link
Owner

p0deje commented Jan 9, 2020

It might be related to the version upgrade. Let me try installing 0.7 and then 0.8.2.

@p0deje
Copy link
Owner

p0deje commented Jan 9, 2020

Hm, still can't reproduce.

  1. Installed 0.7
  2. Tried pasteByDefault and it asked for accessibility permissions
  3. Denied
  4. Installed 0.8.2
  5. Tried pasteByDefault and it asked for accessibility permissions
  6. Granted

@divyanshu013
Copy link

I faced same issue @p0deje, worked after following your solution here.

@whornsby
Copy link

Still present in 0.15.0, but the workaround fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants