duplinskyp / hackerskeyboard

Automatically exported from code.google.com/p/hackerskeyboard
0 stars 0 forks source link

Persian pop-up digits don't show up on button labels #226

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When the keyboard is in 4-row Persian layout, keys in the top row have pop-up 
characters set to Persian digits. This is the expected behavior. The problem 
is, unlike other western layouts, these digits are not visible on the button 
labels. (In English layout, for example, even before long-pressing the "w" 
button, you can see a small "2" on the button.)

I expect to see a small label of the Persian digit on the label of the button, 
just like I see a small "2" on the "w" button in English layout.

I am using the latest version (1.32rc6) on GalaxyTab P1000 7-inch.

It affects only the 4-row keyboard, when it's in Persian layout. (In Arabic 
keyboard, somebody has decided that digits need not to be Arabic digits (which 
is not a good idea, in my opinion), and therefore that layout has normal Latin 
digits, and this problem doen't happen there.)

I guess somewhere in the source code, there is a list of characters that can be 
visible on the button labels if they are defined as pop-up characters, and 
apparently those letters include Latin digits, exclamation mark etc. The 
solution would be to add these persian digits to that list.

Original issue reported on code.google.com by amp...@gmail.com on 7 Apr 2012 at 12:17