Camera icon indicating copy to clipboard operation
Camera copied to clipboard

Previews are not visible

Open TheJNXx opened this issue 2 years ago • 23 comments

I have a phone with Android 10 and I love this camera and how private it is, I only have this problem, the previews are seen from the small button but when I want to see them it does not appear, I hope they fix it, it is a good camera

Screenshot_20240802-185735_Camera_1 Screenshot_20240802-185740_Camera_1

TheJNXx avatar Aug 03 '24 00:08 TheJNXx

Which version of the camera app are you using?

matchboxbananasynergy avatar Aug 03 '24 00:08 matchboxbananasynergy

Which version of the camera app are you using?

The last one, the 73

TheJNXx avatar Aug 03 '24 00:08 TheJNXx

Hi @Jennifer2005x,

Thanks a lot for reporting this issue and sorry for the inconvenience you're facing.

Did this issue exist on your device in v72?

MHShetty avatar Aug 03 '24 08:08 MHShetty

Hi @Jennifer2005x,

Thanks a lot for reporting this issue and sorry for the inconvenience you're facing.

Did this issue exist on your device in v72?

Since I downloaded the app (approximately a few months) I have had that problem, until now I found out that they have github

TheJNXx avatar Aug 03 '24 09:08 TheJNXx

Since I downloaded the app (approximately a few months) I have had that problem, until now I found out that they have github

Ah that seems unusual. Could you please share the logcat while trying to access the in-app gallery? If any internal/app level component logs this issue, we could dive in deeper to see what went wrong

Also, by any little chance, does the image show up when the device is rotated in horizontal orientation?

MHShetty avatar Aug 03 '24 14:08 MHShetty

Since I downloaded the app (approximately a few months) I have had that problem, until now I found out that they have github

Ah that seems unusual. Could you please share the logcat while trying to access the in-app gallery? If any internal/app level component logs this issue, we could dive in deeper to see what went wrong

Also, by any little chance, does the image show up when the device is rotated in horizontal orientation?

2024-08-03-22-38-10.txt

And no, the image does not appear when changing the orientation

TheJNXx avatar Aug 04 '24 03:08 TheJNXx

Hi @Jennifer2005x,

I don't think there's anything relevant in the logs unfortunately. Not being able to reproduce this behavior makes it harder to know what could have gone wrong there, I think we'll need to share a debug build with some more log messages to debug this further. I'll share a debug apk here soon.

Also, are you able to see the details of the photo while clicking on the info icon in the top navigation bar? We could know if it's a rendering problem an issue with loading the saved image uris that way to further narrow down to the exact issue

MHShetty avatar Aug 04 '24 09:08 MHShetty

Hi @Jennifer2005x,

I don't think there's anything relevant in the logs unfortunately. Not being able to reproduce this behavior makes it harder to know what could have gone wrong there, I think we'll need to share a debug build with some more log messages to debug this further. I'll share a debug apk here soon.

Also, are you able to see the details of the photo while clicking on the info icon in the top navigation bar? We could know if it's a rendering problem an issue with loading the saved image uris that way to further narrow down to the exact issue

Screenshot_20240804-044045_Camera

TheJNXx avatar Aug 04 '24 09:08 TheJNXx

The issue seems to be with the rendering in that case. Could be related to the bitmap (image) being too large for the device to render due to memory constraints or other reasons

MHShetty avatar Aug 04 '24 14:08 MHShetty

Could you please try out the debug apk in the below link for this issue?

https://drive.proton.me/urls/ZE8YSCMNSG#bJjXGQs8RUzU

MHShetty avatar Aug 04 '24 14:08 MHShetty

Could you please try out the debug apk in the below link for this issue?

https://drive.proton.me/urls/ZE8YSCMNSG#bJjXGQs8RUzU

Still the same

Screenshot_20240804-135532_Camera d_1 Screenshot_20240804-135537_Camera d

TheJNXx avatar Aug 04 '24 18:08 TheJNXx

Hi @Jennifer2005x,

Sorry to keep you waiting. I have maximized our existing image downscaling logic to a high extent to confirm that this is a rendering/memory related issue in the debug apk uploaded in the link below:

https://drive.proton.me/urls/4V5PXPA2R8#OEzrJI1XgZz7

Could you please try this debug apk to check if you're able to view a low-quality image of a recently taken photo? We could look for better image down scaling algorithm or constant to see if that could resolve the issue

MHShetty avatar Aug 05 '24 21:08 MHShetty

Hi @Jennifer2005x,

Sorry to keep you waiting. I have maximized our existing image downscaling logic to a high extent to confirm that this is a rendering/memory related issue in the debug apk uploaded in the link below:

https://drive.proton.me/urls/4V5PXPA2R8#OEzrJI1XgZz7

Could you please try this debug apk to check if you're able to view a low-quality image of a recently taken photo? We could look for better image down scaling algorithm or constant to see if that could resolve the issue

It works, but it looks blurry

Screenshot_20240806-131842_Camera d_1 Screenshot_20240806-131853_Camera d

TheJNXx avatar Aug 06 '24 18:08 TheJNXx

It works, but it looks blurry

Yes that's the expected behavior, we just downscaled the image to a great extent to confirm that the issue lies there. I'll share an apk file for testing, once we have a fix ready for the same. Thanks a lot for your time and help!

MHShetty avatar Aug 06 '24 19:08 MHShetty

Hi @Jennifer2005x,

Could you please share the device model you're using for the camera app?

MHShetty avatar Aug 07 '24 19:08 MHShetty

Also, could you please try this test apk on your device? https://drive.proton.me/urls/3YKPK5YC04#YJ4JHLjq2ydu

MHShetty avatar Aug 07 '24 19:08 MHShetty

Hi @Jennifer2005x,

Could you please share the device model you're using for the camera app?

It's a Samsung A022M

TheJNXx avatar Aug 07 '24 20:08 TheJNXx

Also, could you please try this test apk on your device? https://drive.proton.me/urls/3YKPK5YC04#YJ4JHLjq2ydu

Same

Screenshot_20240807-155949_Camera d_1 Screenshot_20240807-160003_Camera d

TheJNXx avatar Aug 07 '24 21:08 TheJNXx

Hi @Jennifer2005x,

Could you please test the following debug apk on your device to check if it the preview is visible in the latest changes?

https://drive.proton.me/urls/WAJBQ22PJC#cve6AwLBGj7z

MHShetty avatar Aug 13 '24 21:08 MHShetty

It works more or less Screenshot_20240813-164926_Camera d Screenshot_20240813-164942_Camera d

TheJNXx avatar Aug 13 '24 21:08 TheJNXx