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

Aseprite asks for Accessibility Access on MacOS #3598

Open
Gasparoken opened this issue Nov 24, 2022 · 2 comments
Open

Aseprite asks for Accessibility Access on MacOS #3598

Gasparoken opened this issue Nov 24, 2022 · 2 comments

Comments

@Gasparoken
Copy link
Member

Gasparoken commented Nov 24, 2022

We have 3 reports of this type of event:

Screenshot 2022-11-24 at 13 20 35

This is weird because we don't use any accessibility API from macOS. More research is needed.

Internal use:
reported: https://igarastudio.zendesk.com/agent/tickets/4194
reported: https://igarastudio.zendesk.com/agent/tickets/2737
reported: https://igarastudio.zendesk.com/agent/tickets/710

Aseprite and System version

  • Aseprite version: v1.2.40-arm64
  • System: MacOS Ventura 13.0.1
@dacap
Copy link
Member

dacap commented Nov 26, 2022

Two possibilities to investigate why this happen are:

  1. There is an option (Edit > Preferences > Editor > Auto-scroll on editor edges) that tries to keep the mouse position inside the editor viewport, to do so we are using CGWarpMouseCursorPosition on macOS: https://github.com/aseprite/laf/blob/d96bd799c353841b92d25c297022154a5d18824a/os/osx/system.mm#L105
    Maybe disabling that option will avoid the accessibility API permision.
  2. When we use the eyedropper to pick a color from the screen (i.e. when we drag the foreground or background color buttons to the desktop) macOS will ask permission to record the screen, but I think that is other kind of problem: https://github.com/aseprite/laf/blob/d96bd799c353841b92d25c297022154a5d18824a/os/osx/system.mm#L113

@Gasparoken
Copy link
Member Author

The artist in ticket: (internal) https://igarastudio.zendesk.com/agent/tickets/4194 confirmed that disabling the Auto-scroll in editor borders option prevents the permission prompt from occurring.

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