Quick Add Magic Not Adding Tasks

Using v0.24.6 on docker.

When using Quick Add Magic, I cannot create a new task for a given project from anywhere but the project view.

From Overview or anywhere not “hobbies” project

  • Type ctrl-k
  • Click or type New Task, <enter>
  • “New Task” is now indicated on the command line
  • Input Paint more figurines +hobbies then <enter>

I would expect a new task called “Paint more figurines” to get made in project “hobbies”. What actually happens is it takes me to the “hobbies” project view and does not create a new task.

I tested it on the try.vikunja.io server, and I was able to get it to work there as expected. (Note: Oddly enough, I did it again just before posting while the message sat in an open tab, and it didn’t work.)

In the project view, ctrl-k and New task works as expected without adding +hobbies.

I have tried:

  • Deleting files and db volumes, starting from scratch
  • Clear browser cache
  • Switching to Unstable
  • Changing DB from postgres to mariadb/mysql
  • Making a new user
  • Using different browsers
  • Typing +hobbies Paint more figurines and using quotes

There have been a handful of changes to the behaviour recently. The
most notable being the default project is taken into account more
reliably. Can you check if it works with or without that on the demo?

I think I figured it out. Selecting new task using the keyboard–either by typing it out, tabbing, or using the arrow keys followed by enter–takes you to the project page when you create a new task with +projectname included. If you click New task with the mouse before you type anything, it works. Typing new, then clicking doesn’t work. If you’re already in project view and try it, you can just use the keyboard and create a new task in that project.

I tested this just now on my instance and on the demo as well. I was able to consistently replicate the issue on Firefox. I prefer the keyboard use, instead of switching to mouse. Is this the intended functionality?

I don’t know what’s going on. I just went to try again, and everything I said above is untrue. I’m able to use keyboard exclusively.

I upgraded to latest before my previous post and I tested it on demo. I can’t pin this down because I was testing as I wrote the previous comment.

Were you able to reproduce it since?