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

Checkbox does not disable after on-screen rotation. #94

Open
davirec opened this issue Mar 7, 2022 · 2 comments
Open

Checkbox does not disable after on-screen rotation. #94

davirec opened this issue Mar 7, 2022 · 2 comments

Comments

@davirec
Copy link

davirec commented Mar 7, 2022

When I perform these sequences of events, the checkbox does not disable after on-screen rotation:

  1. Go to the Main activity
  2. Tap in Settings (gear button icon)
  3. Tap in Recognition languages & services
  4. Tick some checkboxes
  5. A screen similar to this will appear:

Before rotation:

  1. Force the pause from the activity and then return to the activity (double rotation).
    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 application to allow uncheck some checkboxes; however, it is impossible.

After rotation:

Device:

  • Device: Moto G30 with OS: Android 11
  • Version: 1.8.14
  • Device language: English
@Kaljurand
Copy link
Owner

Kaljurand commented Mar 8, 2022

Thanks for the clear bug report! I was not aware of this issue, and it seems to occur even after a simpler sequence of events (on Android 12):

  1. Tick a checkbox
  2. Change orientation (e.g. from portrait to landscape)
  3. Try to uncheck the same checkbox. This fails. Also, trying to scroll the list reveals that there are actually 2 (or more?) lists laid on top of each other.

I hope this is not a blocker for you as a work-around exists (just press BACK to kill the activity and then start it again, without rotating the device). I'm planning to slowly simplify/modernize the UI code using androidx.{lifecycle,compose,...}, so bugs like this would hopefully go away.

@davirec
Copy link
Author

davirec commented Mar 15, 2022

Thanks

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

No branches or pull requests

2 participants