Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message window system causes hang in corner case #80

Open
GoogleCodeExporter opened this issue May 14, 2015 · 2 comments
Open

Message window system causes hang in corner case #80

GoogleCodeExporter opened this issue May 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 10 Dec 2013 at 1:36

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant