ifrotz / iosfrotz

Frotz for iOS source (formerly at code.google.com/p/iphonefrotz)
Other
49 stars 17 forks source link

Screen doesn't scroll down fully after command entry #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start playing a game. 
2. Enter several commands, until a lot of text has been printed by the game and 
the screen has had to scroll a few times.

What is the expected output or behavior?  What do you see instead?
At some point, the screen won't scroll down to reveal its response to a command 
you just entered -- in effect, the response text will be hidden "behind" the 
onscreen keyboard, and you'll have to manually scroll the screen to see the 
hidden text and the next command-entry prompt. See attached screenshots.

What version of Frotz are you using?
1.6

What device model are you using (e.g., iPhone 4S, iPhone 3GS, iPad 2, iPod 
Touch 3rd gen.)
iPad 2

What version of iOS?  4.2.1, 5.1, etc.)
5.1.1

Please provide any additional information below.
In the first screenshot, I've just typed the command "down" and pressed enter. 
The game's response text should have been displayed on screen, but it wasn't. 
In the second screenshot, I've manually scrolled the screen down (i.e. swiped 
*up* the screen with a finger) to reveal the text and the command prompt. I 
can't tell exactly when this bug will manifest itself, but it usually does so a 
couple of times per hour, very roughly speaking.

Original issue reported on code.google.com by cxde...@gmail.com on 4 Nov 2012 at 7:00

Attachments:

GoogleCodeExporter commented 9 years ago
Actually, this bug seems to manifest more frequently than I thought.

Original comment by cxde...@gmail.com on 9 Nov 2012 at 2:23

GoogleCodeExporter commented 9 years ago
Fixed in r345.
This seems to have been a race condition with clearing the status line/other 
windows at the
same time; clearing any window was incorrectly resetting the lastVisibleYPos for
all windows.

Original comment by spath...@gmail.com on 5 Sep 2014 at 4:32

GoogleCodeExporter commented 9 years ago
Fixed in App Store released version 1.7.1.

Original comment by spath...@gmail.com on 20 Oct 2014 at 4:54