processing-sublime icon indicating copy to clipboard operation
processing-sublime copied to clipboard

MacOS Mojave - camera and microphone access not requested

Open oori opened this issue 6 years ago • 5 comments

Symptom Building from sublimetext works but:

  1. The build process is very slow.
  2. The app runs extremely slow, unusable. Processing runs at 0.x FPS
  3. camera and microphone not working

Test Running the same processing-java ... command from terminal works fine ! On first run Mojave asks for permissions to access camera and microphone.

If you then go to Mojave system preferences --> Security & Privacy --> Privacy --> camera/microphone and revoke that permission (uncheck the box to disallow terminal/iterm access), and try to run the processing-java ... again, you'll get exactly the same results as if building from sublime text (ie. slow, unusable). I'm pretty sure you can do the same test with processing as well.

Conclusion When running a patch that requires camera or microphone access, on first use, the user should get a prompt from Mojave.

Problem When building from sublimetext, the "request access" box never appears. and there's no way to manually add apps to the camera/micropohne list in Mojave.

Bypass Right now I'm just building from terminal to bypass this, but I'd be happy to build from sublime text again.

Any idea how to resolve this? Thanks

oori avatar Feb 07 '19 11:02 oori

Thanks for the bug report @oori . I'll take a look as soon as I can.

ybakos avatar Feb 07 '19 16:02 ybakos

+1 same issue. would be cool to get this working again via sublime build

maerzhase avatar Mar 29 '19 12:03 maerzhase

+1 on this issue as well.

gregtreadwell avatar May 10 '19 19:05 gregtreadwell

+1 I've had this problem before when I had updated my OS. I fixed it that time by copying over an older version of the "TCC.db" file from another machine. However, it's happened again since updating sublime and now I'm trying to find a work around again.

sublimeconfusion avatar Oct 23 '21 08:10 sublimeconfusion