ejbills / DockDoor

Window peeking for macOS
https://dockdoor.net
GNU General Public License v3.0
1.1k stars 29 forks source link

[BUG] macOS Sequoia 15.0 - old API causes DockDoor to ask about screen and audio recording? (ScreenCaptureKit) #245

Closed Traiver closed 1 month ago

Traiver commented 2 months ago

Describe the bug

DockDoor (as of version 1.1.5) is asking for screen and audio recording with every new app that you open, as soon as you boot up your Mac.

Steps to reproduce

Expected behavior

The app already has access to screen and audio recording in the system settings. It shouldn't ask if the app is allowed to use it furthermore. Could be caused through the old API used for this app but unsure here. Several apps on macOS Sequoia have this problem and Apple is already informed about it.

Screenshots

Screenshots of these popups can be find below.

Bildschirmfoto 2024-08-07 um 17 50 02 Bildschirmfoto 2024-08-07 um 17 51 59

Environment

ejbills commented 2 months ago

That's a new one... this is the latest seqouia beta?

DockDoor uses the new screen recording API, btw.

Traiver commented 2 months ago

This was on Sequoia Beta 4. I updated to Sequoia Beta 5 a few minutes ago and the behaviour changed. Seems like these popups don't appear anymore as soon as I open a new application. I wonder what will happen after bypassing this for a week now. Maybe the popup appears and will ask to bypass the system private window picker again. Though I just wanted to let you know. :)

Bildschirmfoto 2024-08-07 um 18 17 51
illavoluntas commented 2 months ago

This is a new feature of macOS 15. See: https://forums.appleinsider.com/discussion/237241/users-have-to-confirm-screen-recording-permission-every-week-in-macos-sequoia

https://9to5mac.com/2024/08/06/macos-sequoia-screen-recording-privacy-prompt/

ejbills commented 1 month ago

That is a new message, we will have to see what Apple decides on before we can make any concrete assumptions about how to handle this.

hasansultan92 commented 1 month ago

This is normal @ejbills @Traiver, Almost anytime I run the application or build and compile the application I get a bunch of these popups. Something they have added with Mac OS Sequoia

https://www.reddit.com/r/mac/s/PdaoFFZlk6

illavoluntas commented 1 month ago

There is a temporary workaround (I didn’t test it as I don’t use macOS Beta) but it is not related to the app. https://www.reddit.com/r/mac/comments/1dqfmii/macos_15_beta_if_youre_having_issues_with_app_can/

hasansultan92 commented 1 month ago

Yes, its still a hit or miss. Likely Apple will patch this work around sooner than later

illavoluntas commented 1 month ago

I think this issue can be closed as not planned. It is a big problem coming from Apple, not from DockDoor, and there is nothing we can do to bypass these alerts.