Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Data loss while using the app (form disappears on-screen rotation) #35

Open
davirec opened this issue Mar 9, 2022 · 1 comment
Open

Comments

@davirec
Copy link

davirec commented Mar 9, 2022

When I perform these sequences of events, the form disappears on-screen rotation:

  1. Go to the Main activity
  2. Tap in Configure
  3. Tap in Trigger numbers
  4. Tap in plus
  5. Enter a contact
  6. A form similar to this will appear:

Before rotation:

  1. Force the pause from the activity and then return to the activity (double rotation). Note that the form disappears. Note: the pause from activity can be performed in several ways. We suggest using a double rotation (starts in portrait, goes to landscape, and back to portrait) with this function previously enabled in the smartphone.

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

However, the form disappears.

After rotation:

Device:

  • Device: Moto G30 with OS: Android 11
  • Version: 0.5
  • Device language: English
@davirec
Copy link
Author

davirec commented Mar 18, 2022

We found similar flaws in activities:

  • ContactPickerActivity (form fragment disappears and message fragment disappears)
  • SettingsActivity (popup menu disappears)
  • TriggerActivity (selection fragment disappears)

Note:

  • 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.

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

No branches or pull requests

1 participant