New issue 119 by eric.m.m...@gmail.com: Virtual Keyboard Does not Appear in
the Kindle Browser
http://code.google.com/p/shellinabox/issues/detail?id=119
What steps will reproduce the problem?
1. Visit a shell-in-a-box from Kindle 3 w/ SoftKeyboard enabled by default
(so the image appears)
2. Click the keyboard icon.
3. "Nothing" happens.
What is the expected output? What do you see instead?
Keyboard should appear and be usable when the keyboard icon is clicked.
Kindle has no right-click so it has to be enabled in the configuration/code
for the image automatically appear to allow you to attempt to open the
keyboard (which doesn't open).
What version of the product are you using? On what operating system?
2.10-r239, on Kindle 3.
The Kindle 3 has a WebKit-based (limited) web browser that (amazingly) can
load shell-in-a-box and enable shell access from the Kindle! However, the
kindle has no right-click capability (minor problem), and a keyboard with
no Fkeys, Esc, Ctrl, or Alt (bigger problem for using a shell).
SOLUTION:
The virtual keyboard can be made to work! There are a few kindle-browser
rendering issues that prevent it from displaying correctly with the default
setup.
Here's how I got it to work:
File: styles.css
Line: ~167
Change: Comment out the bit about opacity, -moz-opacity, and filter. The
kindle will render anything with < 1 opacity as completely transparent.
File: vt100.jspp
Line: ~870
Change: Change the HTML to read:
'<div id="menu"></div>' +
'<div id="scrollable">' +
'<div id="keyboard" unselectable="on">' +
'</div>' +
(i.e. put the keyboard div inside the scrollable div) For some reason the
kindle was rendering this (perhaps) under the scrollable div. Maybe a
problem with zIndex implementation? Just a guess.
Then recompile and ta-da. The clean, auto-resizing virtual keyboard
implementation now works like a charm on my Kindle 3!
Great solution, works like a charm! Thank you very much