Goodtime icon indicating copy to clipboard operation
Goodtime copied to clipboard

Data loss while using the app (the fragment disappears after double screen rotation)

Open davirec opened this issue 2 years ago • 2 comments

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

  1. Open the app
  2. Tap in Current label (element at the bottom right of the screen)
  3. 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 fragment disappears.

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

However, the fragment disappears.

After rotation:

This bug also occurs in the element About\Privacy.

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: 2.5.4
  • Device language: English
  1. https://developer.android.com/guide/components/activities/activity-lifecycle

davirec avatar Mar 13 '22 23:03 davirec

Indeed, thanks for your feedback! This will be fixed at some point in the future.

adrcotfas avatar Mar 14 '22 19:03 adrcotfas

Thanks

davirec avatar Mar 15 '22 22:03 davirec