valzkat1 / andors-trail

Automatically exported from code.google.com/p/andors-trail
0 stars 0 forks source link

Dialog Reset Potrait to Landscape/Landscape to Potrait #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start a conversation with an NPC
2. Hit Next a few times
3. Change orientation of device

What is the expected output? What do you see instead?
Dialog should continue from where it was left off before screen rotation. 
Instead dialog resets.

What version of the product are you using? On what operating system?
0.6.6 Android 2.2

Please provide any additional information below.

Original issue reported on code.google.com by The2ndclory on 30 Nov 2010 at 2:46

GoogleCodeExporter commented 9 years ago
Thanks for the report! 

Yes, this is bug, my fault :) 

The cause is that activites are restarted when the orientation changes, and the 
restarted activity only gets the original Intent (containing the phrase id to 
display), and not the updated phrase id.

It's easily fixed, but hopefully not gamebreaking in any quests. I think it can 
wait until next release. I have a fix for it ready.

Thanks again for reporting it.

Original comment by oskar.wi...@gmail.com on 1 Dec 2010 at 9:38

GoogleCodeExporter commented 9 years ago

Original comment by oskar.wi...@gmail.com on 3 Dec 2010 at 10:04

GoogleCodeExporter commented 9 years ago

Original comment by oskar.wi...@gmail.com on 20 Dec 2010 at 9:13