Open zspencer opened 3 years ago
I'll keep an eye out for this one.
@zspencer we don't have any information about the iOS version or device from this user, do we?
No, but I would hope that we could learn how to instrument the applications such that when error reports come in we can trace them back somehow. Right now, we have a Sentry account and a Firebase account; but I am not familiar enough with the iOS EcoSystem to know how it all plays together. Perhaps check with @user512 about what he's seen?
I think I can recreate the bug; but only intermittently.... If you use the camera and capture a photo every executes as it should. But, sometimes (not always) choosing an image from the on-device photo library will result in the image not "developing" on screen even though it will still be processed and saved into the library on-device. I am not sure; but it seems like the "developing" failure occurs with lighter images--that could be my imagination, though.
Note to self: it appears to be a race condition. It's hard to reproduce. Choose an image from the image picker to "develop" and, BEFORE the animation completes, quickly choose the newly created, resulting image from the image picker to re-develop as quickly as possible . If you wait for the second development process you may see the empty frame.
Best guess: this is probably related to multithreading and a background process. More later.
NOTE TO CONTRIBUTORS: Please let me know if I'm too chatty in these comments. I can record my troubleshooting train-of-thought elsewhere if this is too verbose.
Nope! This is perfect! Keep the notes flowin'!
New Report:
1.some photos gets all black results as the screenshots(it’s ok in the album)
https://groups.google.com/a/zinc.coop/g/momentpark/c/XYafyTpka-w/m/7P27oigLDgAJ
Thanks for the report. I'm desperately trying to track down why it only happens on some photographs and not others. There's some advanced math that I'm brushing up on in order to run it down (hopefully). I just need to find the time after my full time (overtime) job.
I'll squash this bug one day. Soon, I hope.
On Sat, Dec 17, 2022 at 3:38 AM Zee @.***> wrote:
New Report:
1.some photos gets all black results as the screenshots(it’s ok in the album)
https://groups.google.com/a/zinc.coop/g/momentpark/c/XYafyTpka-w/m/7P27oigLDgAJ
— Reply to this email directly, view it on GitHub https://github.com/zinc-collective/mp-shake-it-photo/issues/27#issuecomment-1355401117, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABASOYCD4PYK3D6BVJNBJULWNSZLDANCNFSM43EXBWXQ . You are receiving this because you were assigned.Message ID: @.***>
No worries and no rush, we move at the speed we can safely move at.
Hi, I sent in the original comment. I still get the error in this latest update (version 3.5.0). I currently run the app on an iPhone 13 pro with iOS 16.4.1(a). Note that I never use the camera within the app. I only ever import from my camera roll. The app usually works fine for several photos and then when the black "developed" image appears, it stays that way until I swipe the app away.
Hey @ErnieBarreto thanks, that is useful! We'll keep trying to isolate and fix it!
My instincts are there is a race condition somewhere in the process; and since the photo saves as expected this may not be urgent. Going to bucket it into 3.3.0 for now.