Magic17 / replicaisland

Automatically exported from code.google.com/p/replicaisland
Apache License 2.0
0 stars 0 forks source link

Message window system causes hang in corner case #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load ReplicantIsland
2. Enter Memory #023
3. Encounter Wanda in the upper-right corner of the map

What is the expected output? What do you see instead?
Expected output: Wanda will chat briefly about her partner.
Actual output: system hangs inside ConversationDialogActivity::formatPages

What version of the product are you using? On what operating system?
Tested on Google Nexus 7 (2012 wifi) with CyanogenMod 10.1.0-RC5 (analogue for 
Android 4.2.2)

Please provide any additional information below.
Seems to be caused by the way paint::BreakString method is handled by OS. 
Corner case is when lastSpace < currentOffset; causes an infinite loop. 
Attached patch fixes issue and technically may make the 
ConversationDialogActivity class slightly more robust.

Original issue reported on code.google.com by lord.sop...@gmail.com on 10 Dec 2013 at 1:36

Attachments:

GoogleCodeExporter commented 9 years ago
devel-version apk ?

Original comment by hgkam...@gmail.com on 15 May 2014 at 9:59

GoogleCodeExporter commented 9 years ago
Hello, I'm hitting same issue on galaxy 3 neo. Any chances this gets merged and 
app in store updated?

Original comment by akostadi...@gmail.com on 22 Mar 2015 at 7:54