hypothesis / hypothesis/product-backlog

Incorrect handling of cyrillic keyboard layout

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
user requested
Dominant language
No language data
Stars
122
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Via support:
### Steps to reproduce
1. Try to add tags on a cyrillic keyboard
2. When a word has a б in the middle, the keyboard interprets it as a comma, and it breaks the tag.
3. Users have to write tags on a notepad, copy and paste it on the tabs field.
### Expected behaviour

The letter б should not be interpreted as a comma, no matter what the keyboard layout says.
### Actual behaviour

The letter б is interpreted as a comma, and starts a new tag
### Other details

[Add tags...] field has smart capability to detect comma in user's input. If user presses [,] then the new tag is generated. Cyrillic keyboard layout has [б] letter in place of comma. Comma, in turn, is located at [/] key. So, every word , where [б] happens to be in the middle, is automatically cut just in the moment, when I press [б], which is detected as [,] which is wrong. As a result, tag list is a complete mess. The only way to put "long" tag, with [б] in the middle, is to paste it from clipboard.
### Browser etc.

Version: 0.46.0
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
URL:
PDF fingerprint: -
Username: SergeiMakarov
Date: 24 Oct 2016 11:53:00 +0300

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in the Add tags field with a Cyrillic keyboard layout, using the described б and comma key behavior. It is done when a tag containing б is not split while pressing the actual comma still starts a new tag; the payload does not name a source file or test.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.