retrobits / son_of_hunkypunk

Automatically exported from code.google.com/p/hunkypunk
22 stars 8 forks source link

Input box off-screen when Prompt is 2 lines, CAVERNS.Z5 story on Nexus 5 / Nexus 6 #42

Closed BroadcastGames closed 4 years ago

BroadcastGames commented 8 years ago

This problem happens with version 0.9 on Google Play store / current source code on Github.

With at least one test game, It's possible to create a situation where the input box is off-screen or extremely narrow and doesn't show the input as you type. This depends on the size of the screen of the device and the particular game story file, but popular current sizes can experience the problem.

This story file: http://ifdb.tads.org/viewgame?id=ig23908psvui4gxx - "Caverns of Chaos" - CAVERNS.Z5 can be used to demonstrate the problem.

On both a Nexus 5 and Nexus 6 the size of the screen in normal portrait mode is such that the opening prompt "WILL YOU [START] THE GAME OR DO YOU WANT TO [QUIT]?" will take two lines and the _Command prompt will be off screen and not show what is typed. Rotating the screen to landscape will allow the prompt to fit on one line and reveals the cursor and related problem.