Skip to content

Text() cannot print combined Unicode characters with hardware keyboard method on Windows #392

@comodoro

Description

@comodoro

If I invoke the Text action with combined characters (like ď, ć) and I use a keyboard layout that supports them, I get an error and no output.

For example, on the Czech keyboard, common letters ď, ť, ň can only be created by pressing the combining caret character (shift+= on the english keyboard) followed by the particular base letter.
Text('ď').executre() gives the error

Execution failed: Keyboard interface cannot type this character: 'ď'

while Text('ěščřžýáíé').executre() executes without problems.

This can be avoided by setting unicode_keyboard = True in settings.cfg in .dragonfly-speech In user directory, but I wouldn't be comfortable modifying user settings just for my program and have not found a mechanism for setting this when importing dragonfly; does it exist? Still it would be nice to have the option to use scan codes as some applications seem not to be able to handle unicode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions