mobile icon indicating copy to clipboard operation
mobile copied to clipboard

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

Open sionzee opened this issue 3 years ago • 36 comments

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.

sionzee avatar Oct 24 '20 12:10 sionzee

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 avatar Oct 24 '20 12:10 sionzee

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 avatar Dec 23 '20 16:12 dberthia

Same issue here on pixel 5

cbrherms avatar Jan 06 '21 01:01 cbrherms

Same issue pixel 4xl

gittyhubbyfrankybobby avatar Mar 02 '21 03:03 gittyhubbyfrankybobby

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

CDNHammer012 avatar Mar 07 '21 17:03 CDNHammer012

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 avatar Mar 17 '21 01:03 ThorpeJosh

Same issue on Xiaomi Mi 10T Pro

julienferga avatar Apr 17 '21 11:04 julienferga

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

Hyrules avatar May 18 '21 15:05 Hyrules

This is still an issue: OnePlus 5T

AdamHess avatar Jun 30 '21 14:06 AdamHess

Also an issue still with the Pixel 4a.

MaximilianEmel avatar Jul 13 '21 14:07 MaximilianEmel

Same on Redmi Note 4X

ihor-chaban avatar Aug 27 '21 10:08 ihor-chaban

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 avatar Sep 04 '21 12:09 hmmcclish

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 avatar Nov 24 '21 12:11 christ-off

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 avatar Feb 10 '22 11:02 renaudallard

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

donutboyy avatar May 27 '22 02:05 donutboyy

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.

jsabater avatar Jun 09 '22 18:06 jsabater

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

ksolheim avatar Jul 19 '22 13:07 ksolheim

Same issue on Pixel 5a on Android 13.

christopher-ursich avatar Oct 13 '22 14:10 christopher-ursich

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 avatar Dec 17 '22 12:12 JuliaSzulc

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 avatar Feb 14 '23 15:02 Greenderella

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 avatar Mar 16 '23 17:03 sinap-se

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 avatar Apr 29 '23 20:04 FaviFake

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 avatar Apr 30 '23 08:04 renaudallard

HELLO PLEASE FIX THIS ASAP (GALAXY z FOLD 5)

capatina avatar Oct 19 '23 12:10 capatina

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 avatar Oct 19 '23 12:10 FaviFake

HELLO PLEASE FIX THIS ASAP (GALAXY z FOLD 5)

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

FaviFake avatar Oct 19 '23 12:10 FaviFake

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

capatina avatar Oct 19 '23 16:10 capatina

@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 avatar Oct 19 '23 16:10 FaviFake

@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 avatar Oct 19 '23 17:10 capatina

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

rvt0001 avatar Dec 24 '23 03:12 rvt0001