Project

General

Profile

Actions

action #133451

closed

Backend dies when passing non-US-keyboard letters to the 'type_string' function size:M

Added by okurz over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2023-07-25
Due date:
2023-08-11
% Done:

0%

Estimated time:

Description

Motivation

The backend process dies after passing russian language characters to the 'type_string' function, see #133319

Acceptance criteria

  • AC1: os-autoinst provides explicit feedback about language support, either proper unicode support or clear error message

Suggestions

  • Read how https://github.com/os-autoinst/os-autoinst/tree/master/consoles/VNC.pm currently works
  • Read qemu docs about emulated keyboards because that is what is important for what we need to pass to the test systems
  • Of course don't add support for individual characters. Try to provide a generic support (or "more generic"). If not possible then at least provide a clear error message what encodings or what keyboard keys are supported
  • If no better solution is found fall back to plain old try/catch and "unknown letter" error message
  • Check pending PRs for extending support for other keyboard layouts

Related issues 2 (2 open0 closed)

Copied from openQA Project (public) - action #133319: Backend dies when passing russian letters to the 'type_string' functionNew2023-07-25

Actions
Copied to openQA Project (public) - action #133613: Support for passing non-US-keyboard letters to the 'type_string' function size:MNew

Actions
Actions

Also available in: Atom PDF