collect
collect copied to clipboard
Opposite themes in Collect and device when drawing in landscape view and ignoring changes cause wrong colours of dialogues and other parts of Collect
Software and hardware versions
Collect v2022.2.3 Android 10, 11, 12
Problem description
When there are opposite themes chosen in Collect application and on a device (e.g phone- light mode, Collect- dark mode), sketching an image in Draw widget and ignoring changes applies wrong theme in „Exit Sketch Image” dialogue and later on in information about following questions and other parts of the application. The same problem occurs in Signature widget. The same problem occurs also in Annotate widget if the user marks up a landscape view image (the image/photo can be taken or chosen from file). It seems that opposite themes, drawing in horizontal position and ignoring changes cause this problem.
https://user-images.githubusercontent.com/56479916/182382486-a148a141-8923-4c5b-9b5b-7ca99e174060.mp4
Steps to reproduce the problem
- In device settings choose light mode.
- Go to Collect app.
- Go to Settings → User interface → Theme
- Choose „Dark theme”.
- Go to All widgets form.
- Go to Draw widget.
- Click „Sketch Image”.
- Click back button.
- Click „Ignore Changes” in „Exit Sketch Image” dialogue.
- Click next or swipe to the next question (if necessary repeat steps 7-10 a few times).
Expected behavior
After clicking back button, the user should see the dialogue which is consistent with the chosen theme in the application. After going to the next question, the user should see information about the question consistent with the chosen theme in the application.
Other information
Draw and Signature widget -after saving changes in „Exit Sketch Image” dialogue, the problem of changes in following questions doesn’t occur (only wrong colours of dialogues). Annotate widget- the problem doesn’t occur if an image is in a vertical position. I’ve also checked Android 11 with Collect v2021.2.0 and it work as expected.