Skip to content
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

Cannot scan QR code generated from long text #347

Open
halmai opened this issue Jan 10, 2025 · 1 comment
Open

Cannot scan QR code generated from long text #347

halmai opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@halmai
Copy link

halmai commented Jan 10, 2025

Bug description

Encoding too long text creates a QR code image which is partly shifted out from the window. There is not even a horizontal scrollbar, thus, I cannot scan the resulted image.

Steps to reproduce

  1. copy the content of the attached TXT file to the clipboard too_long_text.txt
  2. paste it into the text input field of the QR code generator
  3. try to scan the image

Actual behavior

The QR code is not completely visible, therefore, it cannot be scanned.

Expected behavior

The QR code should be completely visible.

System

Operating system and version: Win11Pro
Browser and version: Firefox
Add-on version: 1.9

Possible solution

I found a work-around: add as many characters as needed, until the text becomes too large to generate QR code from it. In that case, the error image is scanned. After this, if you remove the added characters, the reduce text already produces a QR code that is centered properly.

This workaround does work but it is not straightforward enough.

@halmai halmai added the bug Something isn't working label Jan 10, 2025
@halmai
Copy link
Author

halmai commented Jan 10, 2025

This is how it looks like:
too_long_text

@rugk rugk changed the title cannot scan QR code generated from long text Cannot scan QR code generated from long text Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant