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

User is moved to main screen if user minimizes app on 'Reset result' dialog and returns to ODK in specific way #1280

Closed
mmarciniak90 opened this issue Jul 27, 2017 · 5 comments
Labels

Comments

@mmarciniak90
Copy link
Contributor

mmarciniak90 commented Jul 27, 2017

Software and hardware versions

Collect v1.8
Android 4.2, 4.4, 5.1, 6.0

Problem description

User is moved to main screen if user minimizes app on 'Reset result' dialog and returns to ODK via menu with all installed apps or ODK icon in desktop

Steps to reproduce the problem

  1. User goes to 'Admin Settings'
  2. User opens 'Reset application'
  3. User selects what to reset and clicks on 'Reset'
  4. 'Reset result' dialog appears
  5. User minimize app
  6. User opens app from menu with all installed apps OR from desktop: screenshot_20170727-115724
    screenshot_20170727-115709
  7. User sees ODK logo
    screenshot_20170727-114523
  8. User is moved to main menu
  9. If user clicks on device back button, user is moved to view with 'Reset result' dialog

Expected behavior

  • User sees 'Reset result' dialog

Other information

Problem is not visible when user returns to app via list of all opened apps:
screenshot_20170727-115735
Discovered during testing #1269

@lognaturel
Copy link
Member

Wow, good one! I'm not able to reproduce it in Android 5.1.1, though. Do I need to do something special before reopening Collect? I tried waiting for a couple of minutes and locking the device. Both times I was able to see the reset dialog still there.

@lognaturel lognaturel added the bug label Jul 27, 2017
@lognaturel
Copy link
Member

I was able to reproduce once on Android 7.0 but it's not happening every time. Strange issue.

@grzesiek2010
Copy link
Member

grzesiek2010 commented Jul 28, 2017

I spent some time investigating this strange behavior and:

  1. I can't see anything helpful in logs
  2. The problem takes place only if I build the app - > copy the file to a device and install the app
  3. Everything is ok if I install the app using Android Studio or if I install the app from the store
  4. It's not related to dialogs, you can open any other view: eg. you can open form list then minimize your app and you should notice the same issue
  5. Looks like there was a similar issue: User is moved to main view if user minimizes app during filling form on Android 6.0 and 4.2 #1142 I think it's the same as I said it's not related to any particular view.

I decided to check out another app as it's really odd and I noticed the same behavior (works well if I install it using Android Studio and the problem takes place after installation from a file).

So it's not our problem and I think we can close the issue. Maybe we should add a short note in https://github.com/opendatakit/collect#troubleshooting

@lognaturel
Copy link
Member

So strange! You're right that it sounds just like #1142.

@grzesiek2010 please submit a pull request to add a note to troubleshooting when you have a chance, that's a great idea.

@hassnain0
Copy link

The binary version of its metadata is 1.9.9999, expected version is 1.7.1. , Hey Everyone When I try to build release apk it throw me this I change kotlin version also Any solution

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

No branches or pull requests

4 participants