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
Pictures are not send + black preview #11244
Comments
Please just try by updating the Signal application. It may resolve the problem. |
@kusal772 |
App version: 5.10.2 If you are able to link this issue with same or similiar issue feel free to close this one as duplicated. Thank you, Pavel |
This started to happen on my OP3T after upgrading to Android 11 based LineageOS (i.e. 18.1). It seems to happen only with photos taken with OpenCamera with Camera2 API enabled. If I take a picture with OpenCamera with Original API, or with LineageOS's built-in camera thumbnails and sharing work fine. |
Same bug here, android 11 (lineageOS 18.1), signal 5.10.8, no google services.
|
Here is my debug log: https://debuglogs.org/34b1dc5e0c8bdf1d4c81e706421db3398e1cced0e692c3bcb72e1239e263a569 I feel those lines may provide useful information:
But I'm pretty sure all my camera pictures are not corrupted... |
@pavelpetrcz Do you use lineageos ? Just out of curiosity I installed OpenCamera and I can't reproduce the bug in signal with pictures taken from opencamera (using camera2 API). So this may be related to lineageos camera picture format... |
You could be right claiming that it has more to do with lineageos, rather than signal (at least in my case). The same issue occurs when trying to share the affected images via any other app. I tried emailing it, and on the recipient's end the image is corrupted. I tried removing exif data with ScrambledExif to no avail - the app shows an error. Interesting however that 2 gallery apps have no issue rendering said images. |
@luken-dev hi, nope, it is not lineageos, it is regular Android 8/10 on Motorola device. My wife uses preinstalled gallery from OS. |
I know that comparing with WhatsApp and Telegram is not correct but both apps have no problem with selecting pictures from own app gallery. |
@pavelpetrcz can you include a recent debug log taken after trying encountering the issue. I've been trying to repro this with my Pixel 2 running Lineage 18.1 without luck, is there anything special those that are also running lineage are doing to create the media that's failing? |
@cody-signal
|
@zutewas I tried with |
Duplicate of #10394 |
Not a signal user at all, but take a look at the issue I just created:
on a linux box, copy the file back to the phone and report whether that makes the preview thumbnail available for this image (probably clearing cache if signal does some kind of caching with thumbnails?), it'd help to correctly channelize forces for an actual fix (that will have to be in AOSP or ROMs themselves and not signal, IMHO). Other than that, try to see whether sharing from a file manager (specifically the stock one on lineageos, as that one's tested to work) instead of a gallery or using signal directly works. This would confirm the same nature of the issue as well. |
The LOS issue has been fixed in the most recent build. |
wonderful, thans a lot! |
The most recent signal build or the most recent LOS build? 🤔 |
Sorry for the confusion: In LOS. It's a bug in AOSP 11. The commits referenced here need to be cherry picked from Android 12 to make it work: https://review.lineageos.org/c/LineageOS/android_packages_providers_MediaProvider/+/318282/ |
@birefringence @LeSpocky should I reopen the issue and wait for confirmation that fix was successful? or it does not matter? |
On Tue, Dec 07, 2021 at 11:32:54PM -0800, Pavel Petr wrote:
@birefringence @LeSpocky should I reopen the issue and wait for confirmation that fix was successful? or it does not matter?
I'm planning to upgrade from LOS 17.1 (Android 10) to 18.1 (Android
11) in the next weeks. I can report. But do as you please, no urgent
need to reopen from my side.
|
I'm on LOS 18.1, and can confirm the issue has been fixed. Tested with Camera2API in OpenCamera v1.49.1. |
The bug didn't occur with OpenCamera anyway. It only happened with stock camera app within lineageOS. Can you test stock camera app and report here the result? Regards |
Stock lineage cam v2.02.072 works fine as well. Mind you, in my case (OP3T) it was fine all along. I had issues with shots taken with Camera2 API in OpenCamera only. |
Hello,
my wife upgraded to Android 10. Till last update everything was almost always fine.
Now after selecting media from gallery preview of photo is black. And after attempt to send picture Signal says that sending failed. Status pop up immediatelly.
The text was updated successfully, but these errors were encountered: