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 variable returns to the default value after double screen rotation) #34

Open
davirec opened this issue Mar 13, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@davirec
Copy link

davirec commented Mar 13, 2022

When I perform these sequences of events, the variable returns to the default value after double screen rotation:

  1. Open the app
  2. Tap in Polling interval
  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 variable returns to the default value.

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

However, the variable returns to the default value.

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: 1.0-BETA11
  • Device language: English
  1. https://developer.android.com/guide/components/activities/activity-lifecycle
@davirec
Copy link
Author

davirec commented Mar 22, 2022

Hi,
in this activity, we found other bugs: element loses background selection and error fragment disappears.

Before and after double screen rotation
Before and after double screen rotation

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.

@0xf104a 0xf104a self-assigned this Apr 19, 2022
@0xf104a 0xf104a added the bug Something isn't working label Apr 19, 2022
@0xf104a
Copy link
Owner

0xf104a commented Apr 19, 2022

Hello. Sorry for a (very) long response and thankyou for giving such an extended bug report. I am going to fix this issue as soon as possible.

@0xf104a
Copy link
Owner

0xf104a commented Apr 23, 2022

Hi, in this activity, we found other bugs: element loses background selection and error fragment disappears.
Before and after double screen rotation

Before and after double screen rotation

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.

As per Nextcloud dialog issue: it seems to be problem of Nextcloud SSO library as persists in other apps(e.g. PhoneTrack) which uses this library, so I am going to create an issue on their repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants