Skip to content

Cannot scan QR code generated from long text #347

Open
@halmai

Description

@halmai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions