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

Data loss while using the app (the text and map location disappears after double screen rotation) #187

Open
davirec opened this issue Mar 13, 2022 · 2 comments
Labels

Comments

@davirec
Copy link

davirec commented Mar 13, 2022

When I perform these sequences of events, the text disappears after double screen rotation:

  1. Open the app
  2. Advance to The Fist Location
  3. Write the word test and choose the first element from the list
  4. A screen similar to this will appear:

Before rotation:

  1. Force the pause from the activity and then return to the activity (double screen rotation). Note that the text and map location disappears.

The expected behavior is the return to the state of the previous image.

However, the text and map location disappears.

After rotation:

Note:

  • The pause from activity(1) can be performed in several ways. We suggest using a double screen rotation (starts in portrait, goes to landscape, and back to portrait) with this function previously enabled in the smartphone.
  • Double screen rotation: It is executed twice to reach a state that should be exactly the same as the screen before if no data loss occurred.
  • A data loss problem occurs when data is accidentally deleted or state variables are accidentally assigned with default or initial values.

Device:

  • Device: Moto G30 with OS: Android 11
  • Version: 3.0.3
  • Device language: English
  1. https://developer.android.com/guide/components/activities/activity-lifecycle
@sleep-yearning
Copy link
Member

Thank you for the bug report. This is definitely not wanted behavior. However, may I ask how severe the effects are on the usage aspect?

@davirec
Copy link
Author

davirec commented Mar 18, 2022

Hi, sleep-yearning.
In the best cases, a data loss problem forces the users to enter again inputs that had already been entered, deteriorating the quality of the user experience. In the worst cases, they generate activities with an inconsistent state, which causes the apps to produce wrong outputs or even crashes.

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

No branches or pull requests

2 participants