federicoiosue / Omni-Notes

Open source note-taking application for Android
https://omninotes.app
GNU General Public License v3.0
2.69k stars 1.11k forks source link

Unexpected behaviours after a screen orientation change (reported by activity) #693

Open datalossdetector opened 5 years ago

datalossdetector commented 5 years ago

I developed an automatic test case generation tool and it detected these problems in your app. I would like to know if you consider them as failures and, if not, why. Thanks for your collaboration.

1) When I change the orientation of the device screen, SettingsActivity changes its state. Below there are different examples: the screenshots were taken before and after the screen orientation change and they are paired (before, after), (before, after) ...

--- first case ---

In this case, from "Data" it goes back to "Settings".

2019-07-17 15-09-52_before

2019-07-17 15-09-52_after

--- second case ---

A Dialog disappears and it goes back to "Settings" after an orientation change.

2019-07-17 01-42-22_before

2019-07-17 01-42-22_after

2) When I change the orientation of the device screen, PasswordActivity changes its state. Below there are different examples: the screenshots were taken before and after the screen orientation change and they are paired (before, after), (before, after) ...

--- first case ---

The TextView disappears after the orientation change.

2019-07-17 04-33-49_before

2019-07-17 04-33-49_after

--- second case ---

The selected item is not selected anymore after the orientation change.

2019-07-17 00-43-22_before

2019-07-17 00-43-22_after

3) When I change the orientation of the device screen, MainActivity changes its state. Below there are different examples: the screenshots were taken before and after the screen orientation change and they are paired (before, after), (before, after) ...

--- first case ---

The selected item is no longer selected after the orientation change.

2019-07-17 00-43-22_before 2019-07-17 00-43-22_after

--- second case ---

The text "test123" disappears in the search bar after the orientation change.

2019-07-17 00-09-09_before 2019-07-17 00-09-09_after

--- third case ---

The menu opened with "+" disappears after the orientation change.

2019-07-17 00-08-38_before 2019-07-17 00-08-38_after

--- fourth case ---

The displayed Dialog disappears after an orientation change.

2019-07-17 00-07-42_before 2019-07-17 00-07-42_after

4) When I change the orientation of the device screen, CategoryActivity changes its state. Below there are two different examples: the screenshots were taken before and after the screen orientation change and they are paired (before, after), (before, after).

--- first case ---

The "BACK" button becomes the "CANCEL" button after an orientation change.

2019-07-17 10-00-53_before 2019-07-17 10-00-53_after

--- second case ---

The color of the circle changes after an orientation change.

2019-07-17 03-28-02_before 2019-07-17 03-28-02_after