Open dbemke opened 2 years ago
ODK Collect version
Master Android version
Android 8.1, 11, 13 (on the emulator) Device used
Nexus 5X, Samsung Galaxy M12, emulator with android 13
Form media files missing when the user switches between forms from shortcuts.
When a form with media files is reopened from a shortcut no media should be missing. The form media files should be included as it was in the first opening of the form from the shortcut.
If the user minimizes the Birds form while being on the "What bird did you see” question, the issue of missing files doesn’t occur. On the play store version (v2022.3.5) the user is unable to reproduce step 6, because in this version it isn't possible to swipe to the following questions.
Birds form and media Birds.xml.txt drive-download-20220609T092138Z-001.zip.txt
ODK Collect version
Reproducible both on Master and Store Version (2022.3.5) Android version
Android 8.1, 11, 13 (on the emulator) Device used
Nexus 5X, Samsung Galaxy M12, emulator with android 13
Problem description
After opening a form with background audio recording and then opening All widgets form from a shortcut background audio recording appears in All widgets form and crashes the app.
Steps to reproduce the problem
1. Create a demo project in Collect.
2. Create a shortcut for All widgets form.
3. Go to Background audio recording form (in Collect or shortcut of the form).
4. Allow audio recording.
5. Minimize the app and go to home screen.
6. Open All widgets form from the shortcut.
7. Tap stop audio recording button.
Expected behavior
Background audio recording shouldn’t appear in All widgets form.
Other information
In Collect v2021.3.4, v2022.1.0 after reproducing those steps the background audio recording is visible in All widgets but the user can see an error dialog.
ODK Collect version Reproducible both on Master and Store Version (2022.3.5)
Android version Android 12 and 13 (on emulator)
Device used Google Pixel 3a and Emulator with Android 13
Problem description
After adding a new form to the current list, it will not be sorted alphabetically when creating a shortcut
Steps to reproduce the problem
Expected behavior
Newly added form should be sort alphabetically.
None of these are great but they also feel like states that could be identified in training and reported to us. It's possible no one makes use of shortcuts in a way that triggers these bad things.
Most of these do point to issues in the order things are initialized or what state is kept globally. I'd be particularly interested in addressing this one about media.
ODK Collect version
Reproducible both on Master and Store Version (2022.3.5) Android version
Android 8.1, 11, 13 (on the emulator) Device used
Nexus 5X, Samsung Galaxy M12, emulator with android 13
Problem description
Switching between forms from shortcuts at least two times results in opening a wrong form.
Steps to reproduce the problem
All widgets form is opened instead of the second form.
Expected behavior
Tapping on a form from a shortcut opens the form which the user intended to open.