vietjet / iphonefrotz

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

Crash when pressing backspace (delete) key multiple times #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Loading any story
2.typing any words/sentence at the ">" prompt
3.hitting the delete key on the soft keyboard twice ore more in short succession

What is the expected output or behavior?  What do you see instead?
The characters should be deleted; there is a CTD instead. 

What version of Frotz are you using?
1.5

What device model are you using (iPhone 3GS, iPad, iPod Touch 3rd gen,
etc.)
iPhone 4

What version of iOS?  3.2, 4.0, 4.3, etc.)
4.3

Please provide any additional information below.
Interestingly, tapping and *holding* the delete key works as expected -- 
characters are erased and there is no CTD.

Original issue reported on code.google.com by radi...@gmx.li on 11 Mar 2011 at 9:11

GoogleCodeExporter commented 9 years ago
I cannot reproduce this problem; deleting works fine for me in iPhone 4/iOS 4.3.

Can you think of anything that might be different in your usage?
Is the keyboard American English, UK English, or some other international 
keyboard?
What is the font and font size?  Any kind of experimentation with settings you 
can do to see if the problem will go away or come back would be helpful.

Thanks.

Original comment by spath...@gmail.com on 11 Mar 2011 at 3:36

GoogleCodeExporter commented 9 years ago
Thanks for the reply --

It's a German iPhone w/ the German keyboard layout activated. However, the 
error occurs even when I switch to an American/UK (qwerty) type keyboard. The 
delete action still exhibits the same behavior -- the program terminates 
abnormally.

Some other settings: Font Size 16, Font Georgia, Word completion on, Auto 
restore game on launch on. A reset to default settings didn't help; problem 
still exists. I even deleted the app and re-installed but to no avail (as I 
thought maybe a certain story file that I added might be causing it - but no, 
apparently all preinstalled stories are affected).

Can I try something different perhaps?

Original comment by radi...@gmx.li on 11 Mar 2011 at 5:03

GoogleCodeExporter commented 9 years ago
Hmmm.  I'm at a loss.  There must be something unusual about your situation 
because no one else has reported this and a problem like that should have been 
hit by a lot of people.

Did you opt-in to the iTunes question about sending crash data back to Apple?  
If you did, I might be able to find a crash log from your crash via Apple, but 
there's no way for me to correlate the logs with actual people, so I'd have to 
guess which crash it is based on the stack traceback.

Original comment by spath...@gmail.com on 11 Mar 2011 at 5:39

GoogleCodeExporter commented 9 years ago
Found several crash logs on my Mac after the last sync.
Do you think it is advisable to send one of them to you via email? Or is it 
safe to attach to a comment here? Don't know if it contains sensitive info like 
IMEI codes and the like...

Original comment by radi...@gmx.li on 11 Mar 2011 at 5:58

GoogleCodeExporter commented 9 years ago
I'm having this exact same issue with the iPad version of Frotz.

Holding down backspace (delete) works fine, and tapping it with a long pause 
between each tap works ok, but rapidly pressing backspace does not work. 
Interestingly, I've only experienced this problem since re-downloading the app 
from the App Store on Wednesday night, although I was running 1.5 prior to that 
as well. I also updated to iOS 4.3 at that point, so maybe there's something 
there?

I've also tried resetting to default settings and deleting and reinstalling the 
app, tried various font settings as well.

Settings and system info: iPad 1 16GB Wi-Fi version, US keyboard, Font Size 20, 
Font Sinhala Sangam MN, text and background color at defaults, word completion 
on, story info editing off, auto-restore on game launch. Sync'd to a Dropbox 
account.

I believe I have my iTunes set to report crash data, although I'd have to check 
the next time I sync. If I can retrieve crash data off my HD and send it, I 
would be happy to. Very easy to reproduce on this end, just like the original 
poster described.

Original comment by metasynt...@gmail.com on 11 Mar 2011 at 6:24

GoogleCodeExporter commented 9 years ago
Yes, please email the crash log to ifrotz@gmail.com.  It should not contain any 
sensitive information in it, but feel free to inspect it to make sure.

[So far, there are no iOS 4.3 crashes available through Apple's crash reporter. 
 The latest entries are from March 3, though.]

Original comment by ifr...@gmail.com on 11 Mar 2011 at 7:12

GoogleCodeExporter commented 9 years ago
Issue 135 has been merged into this issue.

Original comment by spath...@gmail.com on 12 Mar 2011 at 8:59

GoogleCodeExporter commented 9 years ago
Thanks for the crash log.  I still haven't been able to reproduce the crash 
myself, even with the binary of Frotz freshly installed from the App Store onto 
an IOS 4.3 device.  However, I was able to deduce from the crash log why it is 
crashing, and it has to do with calculating the bounding size of the word 
autocompletion label when the label is empty.  I think that turning off Word 
Autocompletion in the prefs should make the problem stop happening (not that 
you'd want to do without that :-(  ).

I'll try to get a bug fix release in toe App Store in the next couple of weeks 
if I can.   
It's still a mystery why it's not crashing for me (and apparently, most people) 
though.

Original comment by spath...@gmail.com on 14 Mar 2011 at 1:03

GoogleCodeExporter commented 9 years ago
Sorry please merge 136 into here too, my first time posting couldn't see how to 
check before posting... Same issue here on iPad 2. I'll try turning 
autocomplete off and report back. 

Original comment by mekugi...@gmail.com on 15 Mar 2011 at 2:16

GoogleCodeExporter commented 9 years ago
Turning off auto complete works. 

Original comment by mekugi...@gmail.com on 15 Mar 2011 at 2:21

GoogleCodeExporter commented 9 years ago
Issue 136 has been merged into this issue.

Original comment by spath...@gmail.com on 15 Mar 2011 at 2:28

GoogleCodeExporter commented 9 years ago
OP here --
turning off autocomplete works indeed on my iPhone 4 as well.
Thanks for looking into this issue.

Original comment by radi...@gmx.li on 15 Mar 2011 at 2:58

GoogleCodeExporter commented 9 years ago
Issue 138 has been merged into this issue.

Original comment by spath...@gmail.com on 15 Mar 2011 at 6:52

GoogleCodeExporter commented 9 years ago
Issue 139 has been merged into this issue.

Original comment by spath...@gmail.com on 16 Mar 2011 at 1:23

GoogleCodeExporter commented 9 years ago
Issue 140 has been merged into this issue.

Original comment by spath...@gmail.com on 17 Mar 2011 at 3:54

GoogleCodeExporter commented 9 years ago
This occurs one hundred percent of the time on our new iPad 2... Very 
frustrating.

-ben

Original comment by bhi...@gmail.com on 21 Mar 2011 at 5:02

GoogleCodeExporter commented 9 years ago
Yes this exact thing happens on my iPad 2 as well, every time that I try to 
delete text.

Original comment by jfo...@gmail.com on 28 Mar 2011 at 1:48

GoogleCodeExporter commented 9 years ago
Update: it happens every time that I press the delete key twice in a row...the 
first delete works, but the second delete causes it to crash. I can hold the 
delete key as someone stated earlier, but then after letting it go and hitting 
the delete key once after that it crashes. Thanks for looking into this, it is 
very frustrating

Original comment by jfo...@gmail.com on 28 Mar 2011 at 1:52

GoogleCodeExporter commented 9 years ago
Update II: I am sure that some or many of you have seen this, but in the iTunes 
description of the game it notes the issue and suggests turning auto-completion 
off in the game settings, which works. They have submitted an update to apple. 
(settings is found by pressing the "i" next to the game name when playing"

Original comment by jfo...@gmail.com on 28 Mar 2011 at 2:00

GoogleCodeExporter commented 9 years ago
Achtung!

Frotz 1.5.1 is now available in iTunes, with a fix for this problem and a few 
other minor issues.

Original comment by spath...@gmail.com on 30 Mar 2011 at 9:35

GoogleCodeExporter commented 9 years ago
It IS in the iTunes store, but it didn't recognize it as new. I had to
download it specifically.  Maybe just timing.

Original comment by marclall...@gmail.com on 30 Mar 2011 at 9:48