plover icon indicating copy to clipboard operation
plover copied to clipboard

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

Open aesulus opened this issue 2 years ago • 4 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

aesulus avatar Oct 11 '22 18:10 aesulus

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: https://github.com/openstenoproject/plover/issues/1531). I'd suggest trying the strokes after turning NumLock off.

aerickt avatar Oct 12 '22 01:10 aerickt

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

aesulus avatar Oct 12 '22 18:10 aesulus

updated title and description to include NumLock

aesulus avatar Oct 18 '22 16:10 aesulus