openstenoproject/plover

With NumLock enabled, selecting whole words at a time breaks (i.e. {#Control(Shift(Left))} and {#Control(Shift(Right))})

Opened this issue · 3 comments

Describe the bug

Between plover-4.0.0.dev10 and plover-4.0.0.dev12, {#Control(Shift(Left))} and {#Control(Shift(Right))} functionality seems to have been broken (I have not checked plover-4.0.0.dev11).

To Reproduce

Steps to reproduce the behavior:

  1. Define strokes for {#Control(Shift(Left))} and {#Control(Shift(Right))}
  2. With NumLock enabled, use those strokes to attempt to select text
  3. Cursor is moved across whole words but text is not selected

Expected behavior
{#Control(Shift(Left))} and {#Control(Shift(Right))} moves cursor across whole words while selecting text.

Screenshots
Testing site used: https://w3c.github.io/uievents/tools/key-event-viewer.html
Keystroke output in plover-4.0.0.dev10 (expected)
Screenshot 2022-10-11 at 13-21-48 Keyboard Event Viewer

Keystroke output in plover-4.0.0.dev12 (broken)
Screenshot 2022-10-11 at 13-21-37 Keyboard Event Viewer

Operating system

  • OS: Windows 10
  • Plover Version: plover-4.0.0.dev12-win64

I'm not sure if I'm understanding the screenshots, but it seems that NumLock is enabled on both tests. Sometimes having NumLock on can interfere with Plover (see here: #1531). I'd suggest trying the strokes after turning NumLock off.

Re-ran tests with NumLock off. Output between dev10 and dev12 are now identical.

Screenshot 2022-10-12 at 13-36-26 Keyboard Event Viewer

updated title and description to include NumLock