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

Task Pane Steals Focus from Search Bar #231

Closed
jakelfreeman opened this issue Dec 14, 2022 · 8 comments
Closed

Task Pane Steals Focus from Search Bar #231

jakelfreeman opened this issue Dec 14, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@jakelfreeman
Copy link

I'm experiencing an issue after typing in the search box--when I press enter to execute the search, the app goes into edit mode on the active task in the task pane rather than executing the search. I've confirmed that the issue is with this extension, not the app itself or another extension. Running v2852 on Chrome.

@jakelfreeman
Copy link
Author

Can anyone else confirm whether they're experiencing this issue? Still happening in v2882(beta) for me

@mgsloan
Copy link
Owner

mgsloan commented Dec 23, 2022 via email

@jakelfreeman
Copy link
Author

Thank you! I'm unclear as to why duration of keypress would make a difference, but regardless, very much appreciate your help & attention.

@anton2020
Copy link

I can confirm I'm having exactly this issue. Keystroke speed does not seem to matter in my case, otherwise it's exactly as described in the initial post. Would be great to have this fixed as search is almost unusable for now, sadly... MacOS 12.6.2, latest Brave browser.

@mgsloan
Copy link
Owner

mgsloan commented Jan 14, 2023

Oh, just noticed this issue specifies "task pane". If the problem was invoking todoist-shortcuts' handler, then it would be opening the inline task editor instead of the modal dialog.

So, if it is opening the task pane then that means somehow Todoist's native enter shortcut is getting triggered. Clearly this is due to some interaction with todoist-shortcuts if it goes away when the extension is disabled, unfortunately the code for intervening on keyboard handling is pretty convoluted

@jakelfreeman
Copy link
Author

What does this mean from a solution standpoint? I'm very surprised that only myself and one other user seem to be having a problem because the bug inhibits a pretty critical piece of functionality (effectively I'm unable to execute a search without use of the mouse). See the attached video which shows what happens when a search is typed and I try to navigate through the auto-populate items with my arrow keys (winds up navigating through the tasks instead) and then try to execute the search with the enter key (enters edit mode with the highlighted text instead). Any ideas how I can go about fixing this?

Todoist.Shortcuts.Bug.mov

@mgsloan
Copy link
Owner

mgsloan commented Jan 16, 2023

Ahh, thank you for the video, that was helpful! I think the missing part of the repro steps was to select an item from the dropdown. Once I did that I also see the bug

Happily, the fix (in version 172) also means that arrow keys will now be able to navigate the list of search results whereas before they did not.

@mgsloan mgsloan closed this as completed Jan 16, 2023
@mgsloan mgsloan added the bug Something isn't working label Jan 16, 2023
@anton2020
Copy link

@mgsloan thank you so much for the fix and for the extension overall, it's such a time saver!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants