Skip to content

[PM-39461] bug: Fix QR scan reliability by using Y plane rowStride in analyzer#7097

Merged
david-livefront merged 1 commit into
bitwarden:mainfrom
koenyskout:fix-issue-6264-qr-rowstride
Jun 26, 2026
Merged

[PM-39461] bug: Fix QR scan reliability by using Y plane rowStride in analyzer#7097
david-livefront merged 1 commit into
bitwarden:mainfrom
koenyskout:fix-issue-6264-qr-rowstride

Conversation

@koenyskout

Copy link
Copy Markdown
Contributor

Solves issue #6264

QR codes did not scan on some phones. Inspired by Redth/ZXing.Net.Maui#202, I tried using plane.rowStride instead of image.width for the dataWidth parameter of PlanarYUVLuminanceSource. This fixed the issue on my Motorola G9 Power and G9 Plus; both can now successfully scan QR codes in the Authenticator app. I have no other devices (that didn't have the scanning problem before) to test.

@koenyskout
koenyskout requested review from a team and david-livefront as code owners June 24, 2026 11:41
@CLAassistant

CLAassistant commented Jun 24, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@bitwarden-bot

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! We've added this to our internal tracking system for review.
ID: PM-39461
Link: https://bitwarden.atlassian.net/browse/PM-39461

Details on our contribution process can be found here: https://contributing.bitwarden.com/contributing/pull-requests/community-pr-process.

@bitwarden-bot bitwarden-bot changed the title Fix QR scan reliability by using Y plane rowStride in analyzer [PM-39461] Fix QR scan reliability by using Y plane rowStride in analyzer Jun 24, 2026
@david-livefront david-livefront changed the title [PM-39461] Fix QR scan reliability by using Y plane rowStride in analyzer [PM-39461] bug: Fix QR scan reliability by using Y plane rowStride in analyzer Jun 26, 2026
@david-livefront david-livefront added the t:bug Change Type - Bug label Jun 26, 2026
@david-livefront

Copy link
Copy Markdown
Collaborator

Thanks for your contributions @koenyskout

@david-livefront
david-livefront added this pull request to the merge queue Jun 26, 2026
Merged via the queue into bitwarden:main with commit 0b342ed Jun 26, 2026
21 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BWA-213] QR code can't be scanned, while other authenticator apps can scan it instantly

4 participants