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

Undo hotkey issue (macOS) #2069

Closed
sumibi-yakitori opened this issue May 12, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@sumibi-yakitori
Copy link

commented May 12, 2019

AsepriteUndoIssue mov

When I use Asprite and want to undo, after pressing Cmd + Z, the actual process won't run until I release the key.
This problem does not exist with redo.
This problem does not exist in Aseprite v1.2.9

Aseprite and System version

  • Aseprite version: v1.2.11 and v1.2.10 (Steam)
  • System: macOS High Sierra 10.13.6

@dacap dacap added bug macos labels May 14, 2019

@dacap dacap added this to the v1.2 milestone May 14, 2019

@dacap dacap self-assigned this May 14, 2019

@dacap

This comment has been minimized.

Copy link
Member

commented May 14, 2019

I'll take care of this one. The issue here is that the macOS events queue is not being processed because Aseprite thinks that there is no more messages to process so it can take a nap to wait for macOS events.

  1. If you move the mouse while pressing Cmd+Z, you will see that the update works in the moment without releasing Cmd+Z
  2. If you play an animation in a side in other sprite (or the preview), and try to undo things in the first sprite, the undo will be immediately too (because playing an animation makes Aseprite listen the macOS events queue actively while processing internal timer messages to play the animation).

@dacap dacap closed this in bcf6899 May 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.