Skip to content

Custom system's Unicode key labels confuse Plover's verbatim stroke output #991

@chambln

Description

@chambln

Summary

I wrote a plugin to implement my own system for Plover. It uses Unicode's IPA symbols for its key labels:

ə p t w     f t ʃ l i
s b d r  *  n d g z ə

     a e   ɪ ʊ       

Problem is that when I do {PLOVER:ADD_TRANSLATION}, the 'Strokes' text box consistently gets the IPA symbols wrong, whereas it works fine when programmed to use ASCII substitutes.

For example I stroke bʊg in vim, then do {PLOVER:ADD_TRANSLATION}, then I stroke bɪgə in the 'Strokes' text box but 'bʊgʊ' appears (I expect to see 'bɪgə' of course). So it seems to replace all Unicode characters with the one it last received outside of that dialogue box.

Coming from chambln/plover-phenrsteno#5

Reproducing

  1. Plug an NKRO keyboard into your computer
  2. Install Plover 4.0.0.dev8+66.g685bd33 for Windows
  3. Install plover-phenrsteno 0.1.19 from the Plugins manager
  4. Restart Plover
  5. Configure > System > Select 'Phenrsteno'
  6. Enable output
  7. Open your favourite text editor and stroke bʊg (SML on QWERTY)
  8. In Plover click 'Add translation'
  9. Stroke bɪg into the 'Strokes' text box (SNL on QWERTY)

You should expect to see bɪg appear in the text box, because that's what you stroked. However you actually see bʊg. You could also stroke, for example, (O on QWERTY) but again see that LATIN SMALL LETTER UPSILON ʊ character instead.

Plover Version

Plover 4.0.0.dev8+66.g685bd33

System

Windows 10 Pro (build 17134.191)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions