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

Crash of the app after trying to attach ~17MB image in Image widget #6434

Closed
dbemke opened this issue Sep 27, 2024 · 1 comment · Fixed by #6436
Closed

Crash of the app after trying to attach ~17MB image in Image widget #6434

dbemke opened this issue Sep 27, 2024 · 1 comment · Fixed by #6436
Assignees
Milestone

Comments

@dbemke
Copy link

dbemke commented Sep 27, 2024

ODK Collect version

the master version ce00913

Android version

10, 14

Device used

Redmi 9T, Pixel 7a

Problem description

Crash of the app after trying to attach ~17MB image in Image widget
carshImage

The issue doesn’t occur in the store version 2024.2.4

Steps to reproduce the problem

  1. Go to All question types form to image widget.
  2. Tap "Choose image" and attach an image (image 1.jpg 17MB in https://drive.google.com/drive/u/1/folders/1IeuxQZU8Sw90PAOnTRlMToB3Wp_LuCoN)

Expected behavior

The app shouldn't crash.

@github-project-automation github-project-automation bot moved this to not ready in ODK Collect Sep 27, 2024
@dbemke dbemke changed the title Crash of the app after trying to attach ~110MB image in Image widget Crash of the app after trying to attach ~17MB image in Image widget Sep 27, 2024
@lognaturel
Copy link
Member

lognaturel commented Sep 30, 2024

That makes sense as a side effect of #6417

@grzesiek2010 maybe we can scale down once a certain size threshold is reached, otherwise maintain original size?

@lognaturel lognaturel added this to the v2024.3 milestone Sep 30, 2024
@grzesiek2010 grzesiek2010 self-assigned this Oct 1, 2024
@grzesiek2010 grzesiek2010 moved this from not ready to in progress in ODK Collect Oct 1, 2024
@github-project-automation github-project-automation bot moved this from in progress to done in ODK Collect Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
Development

Successfully merging a pull request may close this issue.

3 participants