Suggested spellcheck UI improvements

Bug #2002864 reported by Vince Rice
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

calibre 6.10 on MacOS 11.7.1 (Big Sur).

When spellchecking, it would be nice to be able to put focus on the word list and simply work our way down via keyboard, i.e. arrow down to the next word and either fix it or move on to the next word. A couple of things interfere with this. When clicking on the "Change selected word to:" button to fix a word, two things happen:
1. When it deletes the word from the list, it moves the cursor in the list to the word *above* the word that was fixed, instead of to the next word on the list. So we constantly have to move it back to where it should be (the next word). IOW, if the words A B C are on the list and the focus is on B, clicking the button moves the cursor to A (backwards) instead of to C (the next word to be dealt with).
2. It also leaves the focus on the button, instead of putting the focus back on the word list. We have to click back on the list in order to continue.

If those two things could be changed, working our way through the list would go quite a bit faster. Thanks for considering!

Revision history for this message
Kovid Goyal (kovid) wrote :

1. You can just start at the last word and go up. However, this might be
worth changing.

2. I'm not so sure this is a good idea, by leaving the focus on the
button (which is the expected behavior) one can simply hit enter or
space repeatedly to trigger the button without using the mouse at all.
This is especially important on macOS where there is no keyboard
shortcut for it. If I were to do this it would require creating a
dedicated shortcut to trigger the button.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Vince Rice (vubuntu8rce) wrote :

1. Sure, but you know that's completely counter-intuitive. :) So yes, I agree it's worth changing.

2. But we don't need to repeatedly trigger the button. I can't speak in general, but in my experience, the button can only be used 25% of the time; the rest of the time requires either manual changes or the spelling is correct. (There's another problem I'll open a different issue about.) To skip to the next word, we have to … put focus back on the list. So if it stayed there, we cut out that step. And I'm all for a dedicated shortcut for the button—with that, our hands would only need to leave the keyboard for a manual change, and we'd have to do so in that case anyway. (Unless you want to go nuts and put a shortcut on that button, too. :) But that's not part of the request.)

Revision history for this message
Kovid Goyal (kovid) wrote :

If the spelling is correct you can trigger the button anyway to go to
the next word. I'd really rather not change the expected focus behavior.
Instead what I am willing to do is have the up and down arrow keys work
even when the focus widget is not the word list.

Revision history for this message
Vince Rice (vubuntu8rce) wrote :

That also works. Thank you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.