SecUSo / privacy-friendly-weather

Privacy Friendly App for Android that can display weather for cities.
GNU General Public License v3.0
115 stars 30 forks source link

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

Open davirec opened 2 years ago

davirec commented 2 years ago

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:

Device:

  1. https://developer.android.com/guide/components/activities/activity-lifecycle
sleep-yearning commented 2 years ago

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 commented 2 years ago

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.