S20FE scanning TOTP QR is using wide camera / camera is stretch up on height #1127

Closed
opened 2025-11-26 22:39:45 -06:00 by GiteaMirror · 40 comments
Owner

Originally created by @sionzee on GitHub (Oct 24, 2020).

Describe the Bug

The Samsung S20FE supports ultra-wide camera. Unfortunately when I open the TOTP scanner then it uses this camera and the QR looks stretch to height. So I'm not able to scan the QR (sometimes it works but in most cases not).

Steps To Reproduce

  1. Buy or get S20FE or a mobile with ultra-wide cam.
  2. Go to Bitwarden application and edit details at any card.
  3. Open TOTP scanner and try to scan any QR

Expected Result

It should use the proper camera what is not using ultra-wide lens and perfectly read the QR.

Actual Result

QR is not readable. The Bitwarden don't see it and is not scanning it.

Screenshots or Videos

I'm not able to record/take a picture because the application is blocking it.
Anyway on this step I noticed something interesting. When I open it through Bitwarden TOTP scanner then it is stretched up to height. But if I use a default camera in the phone and use any mode of the camera then it doesn't looks stretched up.

Environment

  • Device: Samsung S20FE 5G
  • Operating system: Android 10
  • Build Version (go to "Settings" → "About" in the app): 2.6.1 (3178)
  • Is this a Beta release? No

Additional Context

As I mentioned in the "Screenshots or Videos" section maybe it is not related to Ultra-wide camera.
Anyway seems I'm able to "scan" everything now even when the camera looks really stretched up.
Maybe it can be related to QR density? Where it is able to read it on small QR but have problem with high density one's.
I also cannot remember what page was not working at all. So I want to at least report the stretch up issue.

Originally created by @sionzee on GitHub (Oct 24, 2020). <!-- Comment: Please do not submit feature requests. The [Community Forums][1] has a section for submitting, voting for, and discussing product feature requests. [1]: https://community.bitwarden.com --> ## Describe the Bug <!-- Comment: A clear and concise description of what the bug is. --> The Samsung S20FE supports ultra-wide camera. Unfortunately when I open the TOTP scanner then it uses this camera and the QR looks stretch to height. So I'm not able to scan the QR (sometimes it works but in most cases not). ## Steps To Reproduce <!-- Comment: How can we reproduce the behavior: --> 1. Buy or get S20FE or a mobile with ultra-wide cam. 2. Go to Bitwarden application and edit details at any card. 3. Open TOTP scanner and try to scan any QR ## Expected Result <!-- Comment: A clear and concise description of what you expected to happen. --> It should use the proper camera what is not using ultra-wide lens and perfectly read the QR. ## Actual Result <!-- Comment: A clear and concise description of what is happening. --> QR is not readable. The Bitwarden don't see it and is not scanning it. ## Screenshots or Videos <!-- Comment: If applicable, add screenshots and/or a short video to help explain your problem. --> I'm not able to record/take a picture because the application is blocking it. Anyway on this step I noticed something interesting. When I open it through Bitwarden TOTP scanner then it is stretched up to height. But if I use a default camera in the phone and use any mode of the camera then it doesn't looks stretched up. ## Environment - Device: Samsung S20FE 5G - Operating system: Android 10 - Build Version (go to "Settings" → "About" in the app): 2.6.1 (3178) - Is this a Beta release? No ## Additional Context <!-- Comment: Add any other context about the problem here. --> As I mentioned in the "Screenshots or Videos" section maybe it is not related to Ultra-wide camera. Anyway seems I'm able to "scan" everything now even when the camera looks really stretched up. Maybe it can be related to QR density? Where it is able to read it on small QR but have problem with high density one's. I also cannot remember what page was not working at all. So I want to at least report the stretch up issue.
Author
Owner

@sionzee commented on GitHub (Oct 24, 2020):

Sorry for commenting it immediately after posting it.

Maybe would be great to have an option what camera should be used in the app settings?
The future is bringing here multiple cameras/lens and the camera which is opened in Bitwarden have no any settings.

@sionzee commented on GitHub (Oct 24, 2020): Sorry for commenting it immediately after posting it. Maybe would be great to have an option what camera should be used in the app settings? The future is bringing here multiple cameras/lens and the camera which is opened in Bitwarden have no any settings.
Author
Owner

@dberthia commented on GitHub (Dec 23, 2020):

Also seeing this issue on my OnePlus 8 Pro- unable to scan a QR code and the scan window is distorted when the camera is active. Worked fine a month or so ago. Somebody on Reddit is seeing this as well:
https://old.reddit.com/r/Bitwarden/comments/jkv7ho/bug_cannot_scan_qr_codes_to_configure_totp/

@dberthia commented on GitHub (Dec 23, 2020): Also seeing this issue on my OnePlus 8 Pro- unable to scan a QR code and the scan window is distorted when the camera is active. Worked fine a month or so ago. Somebody on Reddit is seeing this as well: https://old.reddit.com/r/Bitwarden/comments/jkv7ho/bug_cannot_scan_qr_codes_to_configure_totp/
Author
Owner

@cbrherms commented on GitHub (Jan 6, 2021):

Same issue here on pixel 5

@cbrherms commented on GitHub (Jan 6, 2021): Same issue here on pixel 5
Author
Owner

@gittyhubbyfrankybobby commented on GitHub (Mar 2, 2021):

Same issue pixel 4xl

@gittyhubbyfrankybobby commented on GitHub (Mar 2, 2021): Same issue pixel 4xl
Author
Owner

@CDNHammer012 commented on GitHub (Mar 7, 2021):

Same issue here: OnePlus 6 - but found a workaround. Placing the phone in landscape allowed the camera to properly register the QR code.

@CDNHammer012 commented on GitHub (Mar 7, 2021): Same issue here: OnePlus 6 - but found a workaround. Placing the phone in landscape allowed the camera to properly register the QR code.
Author
Owner

@ThorpeJosh commented on GitHub (Mar 17, 2021):

Same issue with Oppo F7 and R15, landscape and portrait both stretched the standard 4:3 camera to entire screen making it unable to read QR

@ThorpeJosh commented on GitHub (Mar 17, 2021): Same issue with Oppo F7 and R15, landscape and portrait both stretched the standard 4:3 camera to entire screen making it unable to read QR
Author
Owner

@julienferga commented on GitHub (Apr 17, 2021):

Same issue on Xiaomi Mi 10T Pro

@julienferga commented on GitHub (Apr 17, 2021): Same issue on Xiaomi Mi 10T Pro
Author
Owner

@Hyrules commented on GitHub (May 18, 2021):

Same issue on One plus 6T image seems stretched and scanning does not work.

@Hyrules commented on GitHub (May 18, 2021): Same issue on One plus 6T image seems stretched and scanning does not work.
Author
Owner

@AdamHess commented on GitHub (Jun 30, 2021):

This is still an issue: OnePlus 5T

@AdamHess commented on GitHub (Jun 30, 2021): This is still an issue: OnePlus 5T
Author
Owner

@MaximilianEmel commented on GitHub (Jul 13, 2021):

Also an issue still with the Pixel 4a.

@MaximilianEmel commented on GitHub (Jul 13, 2021): Also an issue still with the Pixel 4a.
Author
Owner

@ihor-chaban commented on GitHub (Aug 27, 2021):

Same on Redmi Note 4X

@ihor-chaban commented on GitHub (Aug 27, 2021): Same on Redmi Note 4X
Author
Owner

@hmmcclish commented on GitHub (Sep 4, 2021):

Same on F(x)tec Pro1, in both portrait and landscape mode. Workaround was to paste QR code into MS Paint, shrink height to 75%, and retry. Scanned perfectly.

@hmmcclish commented on GitHub (Sep 4, 2021): Same on F(x)tec Pro1, in both portrait and landscape mode. Workaround was to paste QR code into MS Paint, shrink height to 75%, and retry. Scanned perfectly.
Author
Owner

@christ-off commented on GitHub (Nov 24, 2021):

Same issue on Samsung A52S 5G
As cameras are the same (yes it includes a wide angle) this should occur also on non 5G A52

@christ-off commented on GitHub (Nov 24, 2021): Same issue on Samsung A52S 5G As cameras are the same (yes it includes a wide angle) this should occur also on non 5G A52
Author
Owner

@renaudallard commented on GitHub (Feb 10, 2022):

About the same issue with a Motorola Edge 20 pro. Picture is not really stretched, but completely blurry, I had to increase the size of the QR TOTP code to about 20cm to be able to scan it on my screen. QR code scanner pro and the camera app are able to scan the same QR code without issue. App version is 2.15.0

@renaudallard commented on GitHub (Feb 10, 2022): About the same issue with a Motorola Edge 20 pro. Picture is not really stretched, but completely blurry, I had to increase the size of the QR TOTP code to about 20cm to be able to scan it on my screen. QR code scanner pro and the camera app are able to scan the same QR code without issue. App version is 2.15.0
Author
Owner

@donutboyy commented on GitHub (May 27, 2022):

Same issue on Samsung Galaxy S22 except I am able to scan the QR code, just looks warped in the viewfinder. Occasionally crashes

@donutboyy commented on GitHub (May 27, 2022): Same issue on Samsung Galaxy S22 except I am able to scan the QR code, just looks warped in the viewfinder. Occasionally crashes
Author
Owner

@jsabater commented on GitHub (Jun 9, 2022):

Same issue on a Samsung Galaxy A50 with Android version 11. I have tried different settings in the camera but I think that the Bitwarden app does not use such settings.

Any information on when or how this issue may be resolved? I just subscribed to the Premium Bitwarden.com service in order to be able to use the OTP feature and now I cannot 🤷

Thanks in advance.

@jsabater commented on GitHub (Jun 9, 2022): Same issue on a Samsung Galaxy A50 with Android version 11. I have tried different settings in the camera but I think that the Bitwarden app does not use such settings. Any information on when or how this issue may be resolved? I just subscribed to the Premium Bitwarden.com service in order to be able to use the OTP feature and now I cannot :shrug: Thanks in advance.
Author
Owner

@ksolheim commented on GitHub (Jul 19, 2022):

Samsung S21+ - Looks like it's using the ultra wide camera.
Unable to scan any QR codes for with Bitwarden.

@ksolheim commented on GitHub (Jul 19, 2022): Samsung S21+ - Looks like it's using the ultra wide camera. Unable to scan any QR codes for with Bitwarden.
Author
Owner

@christopher-ursich commented on GitHub (Oct 13, 2022):

Same issue on Pixel 5a on Android 13.

@christopher-ursich commented on GitHub (Oct 13, 2022): Same issue on Pixel 5a on Android 13.
Author
Owner

@JuliaSzulc commented on GitHub (Dec 17, 2022):

Same issue on Samsung Galaxy A5 with Android 13
Blurry and stretched picture, can't scan anything. It's been over two years since opening this issue. Are you planning to fix it?

@JuliaSzulc commented on GitHub (Dec 17, 2022): Same issue on Samsung Galaxy A5 with Android 13 Blurry and stretched picture, can't scan anything. It's been over two years since opening this issue. Are you planning to fix it?
Author
Owner

@Greenderella commented on GitHub (Feb 14, 2023):

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

@Greenderella commented on GitHub (Feb 14, 2023): Hi there, I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below. Thanks!
Author
Owner

@sinap-se commented on GitHub (Mar 16, 2023):

This issue is present on a Pixel 7. Of note, on this device, the 'lowest' zoom level is a wide-angle fish eye kind of camera. It is a zoom value of 0.7 in the official camera app. 1.0 does not use this fish eye.

This could be resolved by allowing pinch to zoom or gestures, or defaulting to 1.0 zoom.

@sinap-se commented on GitHub (Mar 16, 2023): This issue is present on a Pixel 7. Of note, on this device, the 'lowest' zoom level is a wide-angle fish eye kind of camera. It is a zoom value of 0.7 in the official camera app. 1.0 does not use this fish eye. This could be resolved by allowing pinch to zoom or gestures, or defaulting to 1.0 zoom.
Author
Owner

@FaviFake commented on GitHub (Apr 29, 2023):

I have the same issue on my Samsung Galaxy A72. For more information about my phone, see issue #2448

Here's a video showing the bug:

https://user-images.githubusercontent.com/86537048/227742136-2c5ff612-4070-48c8-b8c4-411b850f0708.mp4

@FaviFake commented on GitHub (Apr 29, 2023): I have the same issue on my Samsung Galaxy A72. For more information about my phone, see issue #2448 Here's a video showing the bug: https://user-images.githubusercontent.com/86537048/227742136-2c5ff612-4070-48c8-b8c4-411b850f0708.mp4
Author
Owner

@renaudallard commented on GitHub (Apr 30, 2023):

I have the same issue on my Samsung Galaxy A72. For more information about my phone, see issue #2448

Here's a video showing the bug:

Your video doesn't show trying to scan a QR code.
The strangest thing is that bitwarden is the one and only app I have seen with that issue.

@renaudallard commented on GitHub (Apr 30, 2023): > I have the same issue on my Samsung Galaxy A72. For more information about my phone, see issue #2448 > > Here's a video showing the bug: Your video doesn't show trying to scan a QR code. The strangest thing is that bitwarden is the one and only app I have seen with that issue.
Author
Owner

@capatina commented on GitHub (Oct 19, 2023):

HELLO PLEASE FIX THIS ASAP (GALAXY z FOLD 5)

@capatina commented on GitHub (Oct 19, 2023): HELLO PLEASE FIX THIS ASAP (GALAXY z FOLD 5)
Author
Owner

@FaviFake commented on GitHub (Oct 19, 2023):

I have the same issue on my Samsung Galaxy A72. For more information about my phone, see issue #2448
Here's a video showing the bug:

Your video doesn't show trying to scan a QR code.

@renaudallard Yes, but it shows how distorted the camera is.

@FaviFake commented on GitHub (Oct 19, 2023): > > I have the same issue on my Samsung Galaxy A72. For more information about my phone, see issue #2448 > > Here's a video showing the bug: > > Your video doesn't show trying to scan a QR code. @renaudallard Yes, but it shows how distorted the camera is.
Author
Owner

@FaviFake commented on GitHub (Oct 19, 2023):

HELLO PLEASE FIX THIS ASAP (GALAXY z FOLD 5)

@capatina You can easily fix this by clicking this button:
Screenshot_20231019_144536

@FaviFake commented on GitHub (Oct 19, 2023): > HELLO PLEASE FIX THIS ASAP (GALAXY z FOLD 5) @capatina You can easily fix this by clicking this button: ![Screenshot_20231019_144536](https://github.com/bitwarden/mobile/assets/86537048/19d149b8-e5a0-4621-8134-9d51cda6f006)
Author
Owner

@capatina commented on GitHub (Oct 19, 2023):

@FaviFake that is not a fix. That's just adding the code manually - something which not all providers make easy to do

@capatina commented on GitHub (Oct 19, 2023): @FaviFake that is not a fix. That's just adding the code manually - something which not all providers make easy to do
Author
Owner

@FaviFake commented on GitHub (Oct 19, 2023):

@FaviFake that is not a fix. That's just adding the code manually - something which not all providers make easy to do

@capatina Sorry, I meant to say that the QR code is not the only way to add a TOTP. I don't understand why some providers would make it hard to find the key, for me it has always been not more than a tap away or sometimes it's even displayed without user input.

That said, bitwarden should definitely fix this asap.

@FaviFake commented on GitHub (Oct 19, 2023): > @FaviFake that is not a fix. That's just adding the code manually - something which not all providers make easy to do @capatina Sorry, I meant to say that the QR code is not the only way to add a TOTP. I don't understand why some providers would make it hard to find the key, for me it has always been not more than a tap away or sometimes it's even displayed without user input. That said, bitwarden should definitely fix this asap.
Author
Owner

@capatina commented on GitHub (Oct 19, 2023):

@FaviFake here is coinbase.com, for example:
image

I had to scan the QR code with my phone camera, copy the link to a notepad app, copy the secret key, and then paste that into Bitwarden because the bitwarden scanner doesn't work

@capatina commented on GitHub (Oct 19, 2023): @FaviFake here is coinbase.com, for example: <img width="446" alt="image" src="https://github.com/bitwarden/mobile/assets/13295539/7517eab8-1c37-4be9-901c-e2f16ca26502"> I had to scan the QR code with my phone camera, copy the link to a notepad app, copy the secret key, and then paste that into Bitwarden because the bitwarden scanner doesn't work
Author
Owner

@rvt0001 commented on GitHub (Dec 24, 2023):

I resolved this issue on my Samsung android tablet by changing the auto-rotate setting to portrait.

@rvt0001 commented on GitHub (Dec 24, 2023): I resolved this issue on my Samsung android tablet by changing the **_auto-rotate_** setting to _**portrait**_.
Author
Owner

@stefandier commented on GitHub (Jan 19, 2024):

Same on Pixel 7 with Android 14 (January 2024).

That's what's making me refrain switching from free to paid...

@stefandier commented on GitHub (Jan 19, 2024): Same on Pixel 7 with Android 14 (January 2024). That's what's making me refrain switching from free to paid...
Author
Owner

@FaviFake commented on GitHub (Jan 19, 2024):

You're saying this bug alone is enough to make you refrain upgrading your account? You can easily go around it by entering the code manually.

@FaviFake commented on GitHub (Jan 19, 2024): You're saying _this bug alone_ is enough to make you refrain upgrading your account? You can easily go around it by entering the code manually.
Author
Owner

@cbrherms commented on GitHub (Jan 19, 2024):

You're saying this bug alone is enough to make you refrain upgrading your account? You can easily go around it by entering the code manually.

This bug, plus so far it being 3 years without a fix, is why I haven't returned to BW.

@cbrherms commented on GitHub (Jan 19, 2024): > You're saying _this bug alone_ is enough to make you refrain upgrading your account? You can easily go around it by entering the code manually. This bug, plus so far it being 3 years without a fix, is why I haven't returned to BW.
Author
Owner

@FaviFake commented on GitHub (Jan 19, 2024):

... There is a fix: https://github.com/bitwarden/mobile/issues/1130#issuecomment-1868421257

@FaviFake commented on GitHub (Jan 19, 2024): ... There is a fix: https://github.com/bitwarden/mobile/issues/1130#issuecomment-1868421257
Author
Owner

@renaudallard commented on GitHub (Jan 21, 2024):

What I don't understand is that all apps that I have installed and that can scan QR codes work just fine. Only bitwarden is having the issue.

@renaudallard commented on GitHub (Jan 21, 2024): What I don't understand is that all apps that I have installed and that can scan QR codes work just fine. Only bitwarden is having the issue.
Author
Owner

@BlueBlock commented on GitHub (Feb 25, 2024):

On a Pixel 6, I was able to resolve this by going to the camera app and disabling the Camera setting "Camera scan suggestions".

@BlueBlock commented on GitHub (Feb 25, 2024): On a Pixel 6, I was able to resolve this by going to the camera app and disabling the Camera setting "Camera scan suggestions".
Author
Owner

@AndrewHutcheson commented on GitHub (Feb 29, 2024):

I am also having this issue. Oneplus 6t. It doesn't matter if it is landscape or portrait mode.

@AndrewHutcheson commented on GitHub (Feb 29, 2024): I am also having this issue. Oneplus 6t. It doesn't matter if it is landscape or portrait mode.
Author
Owner

@tehniemer commented on GitHub (Mar 12, 2024):

On a Pixel 6, I was able to resolve this by going to the camera app and disabling the Camera setting "Camera scan suggestions".

This didn't work for me on a Pixel 6a

@tehniemer commented on GitHub (Mar 12, 2024): > On a Pixel 6, I was able to resolve this by going to the camera app and disabling the Camera setting "Camera scan suggestions". This didn't work for me on a Pixel 6a
Author
Owner

@Cris-- commented on GitHub (May 20, 2024):

This is still an issue: OnePlus 5T

+1

@Cris-- commented on GitHub (May 20, 2024): > This is still an issue: OnePlus 5T +1
Author
Owner

@vvolkgang commented on GitHub (Jun 20, 2024):

Issue migrated to https://github.com/bitwarden/mobile/issues/1130

@vvolkgang commented on GitHub (Jun 20, 2024): Issue migrated to https://github.com/bitwarden/mobile/issues/1130
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1127