idpaterson / alfred-wunderlist-workflow

Unbelievably fast task entry in Wunderlist with due dates, reminders, and recurrence
297 stars 8 forks source link

Task added to the wrong list when the Wunderlist window is minimized #28

Closed Muurtegel closed 10 years ago

Muurtegel commented 10 years ago

I just found another bug for when the Wunderlist window is minimized. It can be reproduced like this:

  1. Select a random list that is created by the user in Wunderlist (I created a list named 'To do' and selected that)
  2. Minimize the Wunderlist window (CMD+M)
  3. Add a task to another list with alfred using the wl command (for example the 'Inbox' list)

OSX produces an error sound, the Wunderlist window is opened and the task is added to the list that is selected in step 1 instead of the list in step 3.

(Probably because changing the list was not possible while the window was minimized, but that is pure speculation ad I didn't look at the code)

Muurtegel commented 10 years ago

I updated the issue as it seems to work fine when you select a standard list in step 1. The problem only occurs when you select a list that is created by yourself.

edit: Oh and this issue doesn't have any priority. I just wanted to let you know that I ran into it.

idpaterson commented 10 years ago

Very interesting, I might have to see whether checking if the window is minimized and then waiting a second or so for the animation fixes the problem. I can't guess why there is a difference between built-in and custom lists being focused beforehand but you're right - great observation.

I scheduled this for 0.3 though if that ends up taking a long time I may slip this into a 0.2 hotfix

Muurtegel commented 10 years ago

This issue seems to be fixed with the latest update. Everything behaves as expected now.