FS#10597 - Loadable keyboard layout rendered incorrectly
Opened by Delyan Kratunov (archivator) - Thursday, 10 September 2009, 21:17 GMT
Last edited by Teruaki Kawashima (teru) - Saturday, 03 October 2009, 14:51 GMT
|
DetailsThe first time you load a keyboard layout or start rockbox, the virtual keyboard is displayed properly. The next time you open it, however, it is rendered with a fixed width font and completely disregards the number of lines in the original file. Thus, it makes loadable layouts unusable.
I last tested with r22668 but this has been going on for a while now. |
Saturday, 03 October 2009, 14:51 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed in r22892.
Please open a new task if there is still issue.
it seems like that max width is set to the width of the '\n' character when kbd_input is called first time after loaded the kbd.
but '\n' in kbd_buf is replaced by the spaces filling the line later. and max width becomes smaller when kbd_input is called next time.
adding wider character(e.g. tab) to .kbd file would render the virtual keyboard like 110823.
There's, however, another issue I noticed when using your patch - the input line gets cut off at the end of the keyboard layout, wasting almost half the screen space to the right. See screendump for clarification.