Bug 361365 - inputting canvas size with screen keyboard doesn't work properly
Summary: inputting canvas size with screen keyboard doesn't work properly
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.9.11
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-04 00:26 UTC by Tomohiro Narita
Modified: 2016-04-07 10:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomohiro Narita 2016-04-04 00:26:54 UTC
When I try to create a custom document, any number inputted with screen keyboard is recognized as the number I first inputted.
For example, inputting "1200" is recognized as "1111".

Reproducible: Always

Steps to Reproduce:
1.Clikc File -> New -> Custom Document
2.Click "Width" Edit box
3.Open the screen keyboard with task bar button
4.tap some of numbers and this problem occurs

Actual Results:  
For example, inputting "1200" is recognized as "1111".

Expected Results:  
displayed as I inputted
Comment 1 wolthera 2016-04-04 12:26:30 UTC
are you using a translation?
Comment 2 Tomohiro Narita 2016-04-04 12:57:11 UTC
No, but I'm sorry that I'm not so good at English.
Comment 3 wolthera 2016-04-04 13:10:29 UTC
No, don't worry your english is perfectly understandable, I was thinking it may be related to the translation applying and causing a bug there... I do wonder what IS causing it... hmz.
Comment 4 Tomohiro Narita 2016-04-04 13:58:29 UTC
Thank you your consideration and understanding my English.
Actually, my windows is Japanese. And I tried krita x86(32bit) version and English Keyboard.
As a result, this problem occurs when I'm using krita x64 version with Japanese screen keyboard.
32bit version works properly, and so does 64bit version with English keyboard.
I hope these results help.
Comment 5 guruguru.sp 2016-04-06 13:40:13 UTC
Hi, I could reproduce the issue using "Touch Keyboard, in Japanese Microsoft IME input mode"(that appears in task bar, not "Screen Keyboard") in 2.9.11. This does not happen in 3.0Pre-alpha3 on my PC.

I personally think this is a Qt issue. With "Touch Keyboard, in Japanese Microsoft IME input mode" when you input numbers in its numkey, you can usually choose it to be ascii or Japanese multibyte. But in 2.9.11, Qt number field does not seem handle this input correctly, reading the key event wrong. (Probably this is resolved in a newer Qt, thus this is not an issue in 3.0Pre-alpha3)

Workaround for 2.9.11 is, as Narita-san mentioned, change from "Japanese IME input" to "English input" when entering numbers from Touch Keyboard. 

Japanese information below:
現象を2.9.11で再現しました。一方で、こちらのPCでは最新の3.0プリアルファ3を使うと問題は起こらないようです。

タスクバーから表示できるタッチスクリーンを「日本語Microsoft IME」モードにして数値を入力すると、通常は半角か全角か選択して数値入力確定することができるのですが、2.9.11の数値フィールド(半角数字のみを想定している)ではこの日本語モードの数値入力を正しく処理できていないようです。これはおそらくQt側の問題かと思います。(最新ビルドで問題が起きないのは、新しいQtバージョンを使用しているからと推定しています)

2.9.11ではご報告いただいたように数値入力時には日本語モードではなく英語モードにして入力するのが回避策と思います。
Comment 6 Halla Rempt 2016-04-07 10:57:26 UTC
If it's fixed in 3.0, we can close the bug!