1. What is the issue? Please be detailed.
Collect 2026.3.0Beta3
While testing (galaxy tab s8, 2560 x 1600 resolution, landscape annotated images result in ~2000-2200 x 1548px depending on aspect ratio) I went to annotate a photo (max-pixels=2400) and in the annotation view the image appeared in a small area of the display - this hadn't happened for 5x previously captured & annotated photos or 2x dynamic images loaded for annotation.
I took a screenshot and then annotated, the resulting image was 1118x838.
Continuing the form I added the screenshot as image #2 in the repeat, captured a photo for #3 & #4. upon opening annotation view in #2,3,4 only 4 repeated the unusual behaviour, but not annotating it resulted in a 2400px wide image, so the source wasn't low resolution.
2. What steps can we take to reproduce this issue?
Unsure - tried opening annotate view repeatedly on different photo questions and could not reproduce. Has only happened twice in one submission so far.
3. What have you tried to fix the issue?
Never seen this before. No attempts.
4. Upload any forms or screenshots you can share publicly below. Note: boxes added after Central download to redact.
Image #1 low resolution result (discourse might resize from 1118x838?):
Something I don't think I was clear about initially -
Usually, no matter the source resolution, when entering annotation view the image will best fit to the screen to maximum possible width or height (aspect ratio dependent).
When this unexpected behaviour occurred, what happened was the image only used the central portion of the screen, as seen in the screenshot of the annotation view. As the resolution of an annotation image is limited by the device screen resolution, with this smaller area, the annotated version was correspondingly lower resolution (1118px long) compared to a normal best fit annotation (~2000px long).
max-pixels is not related to this, I only mentioned it to indicate that the setting was larger than the highest possible annotation resolution, so not a factor.
I also checked that a low resolution image wouldn't result in this kind of appearance by using 'choose image' on a 619x825 pixel source image, and opening annotation enlarged it to fill the screen, it didn't display 1:1 in a reduced area.
I haven't seen it occur again yet, but if it does I'll screen record entering/exiting annotation mode.
A quick explanation: annotated images have always been scaled to the screen size, but the issue became more noticeable with the switch to Android 16. Since we no longer lock screen orientation on tablets, the drawing screen can end up in a smaller, letterboxed window, which further reduces the effective resolution.
I've already addressed this issue, and the fix will be included in an upcoming release. If you'd like to follow the details or progress, here's the pull request: https://github.com/getodk/collect/pull/7294
I read the PR quickly - does the fix also mean that the annotated image will no longer be limited by device resolution? If so, that is a bonus.
In my case it was a landscape image annotated in landscape orientation (tablet was sitting on desk and not rotated during process), how does this trigger the scaling? (I could see portrait images pillarboxing or landscape images letterboxing if rotation wasn't locked anymore while in annotate mode)
This means small physical size devices / cheaper devices with low resolution panels can now be used to annotate without resulting in lower resolution image output.
I haven't seen the windowboxing appear again in beta 3/4/5, so am calling this solved.