mgsloan / todoist-shortcuts

Browser extension which adds comprehensive keyboard shortcuts to Todoist, beyond what is offered by Todoist itself
MIT License
313 stars 23 forks source link

Moving task up and down is not working properly. #241

Open oasisfeng opened 1 year ago

oasisfeng commented 1 year ago

Shift+Up/Down is expected to move task up or down by one slot. But currently, it usually moves task far away upward or downward and it even moves sub-task out of its parent task.

mgsloan commented 1 year ago

That's curious! Do you have particularly large tasks?

Unfortunately todoist's drag and drop handling is not very well behaved. It works ok for humans because they wiggle things around until things look right, but it is a lot of work to implement that logic. So for now it hardcodes fudge constants. It could also have something to do with your font sizes / other browser settings that effect spacing.

oasisfeng commented 1 year ago

I think I don't have particularly large tasks. Perhaps it is caused by increased default font size?

I didn't realize that the task moving up & down was implemented by simulating drag and drop. That explains everything. Thanks for your explanation!

Hope you can find another way to do accurate task moving in the future.

GaryFurash commented 1 year ago

In neither Edge nor Firefox do the move current line commands work. Thanks!

mmcintyre123 commented 1 year ago

Same here. It was working and stopped working one day all of a sudden, with no change to any settings, font, etc.

mmcintyre123 commented 5 months ago

Probably related to #248 Would love to have this back.