othyn / macos-auto-clicker

A simple auto clicker for macOS Big Sur, Monterey, Ventura, Sonoma and Sequoia.
MIT License
229 stars 27 forks source link

As a user, i got a bug when press start by hotkeys twice ( option + cmd + S ) #56

Closed lammerfalcon closed 1 year ago

lammerfalcon commented 1 year ago

When press option + cmd + S twice program go to the infinity loop, i cant stop program by clicking on button STOP, or press option + cmd + X

Macbook air m1, OS x 13

othyn commented 1 year ago

Thanks for the bug report, I'll have a look and get back to you to see if I can re-produce it.

othyn commented 1 year ago

Yep, can confirm!

You can start the timer multiple times using the keyboard shortcut and get the app stuck.

Steps to reproduce:

  1. Open the app.
  2. Press the 'Start' keyboard shortcut repeatedly.
  3. The timer will start in the background as many times as the button is pressed, regardless of if its in pre-or-post countdown state.

Ideas on what the problem could be:

At a guess there is a boolean switch that is not checked when using the keyboard shortcut vs. using the button that stops the timer being instigated multiple times.

othyn commented 1 year ago

@lammerfalcon v1.5.0 of the app fixes this, I did mean to do a v1.4.x patch release but the CI/CD flow broke so its part of v1.5.0.

Download can be found on the releases page.

lammerfalcon commented 1 year ago

Thank you! I really like your program!