Skip to content

Barcode Generator reports success but renders no barcode and keeps SVG/PNG exports disabled #359

Description

@baixiangcpp

Summary

The Barcode Generator reports a successful generation, but no barcode visual is rendered and the SVG/PNG export actions remain disabled.

Reproduction

  1. Open https://byteflow.tools/en/barcode-generator
  2. Keep the default CODE128 format.
  3. Enter ABC-123 in Input.
  4. Click Generate.

Expected

  • A visible CODE128 barcode should appear in Preview + Metadata.
  • SVG and PNG export buttons should become enabled.
  • The generated visual should be usable for scanning or downloading.

Actual

  • The page shows Generate completed. and Generated CODE128 barcode..
  • The preview area still says Preview will appear here.
  • The DOM contains no generated barcode image/canvas (the only image is the site brand mark).
  • SVG and PNG remain disabled.
  • Copy only copies metadata text:
Format: CODE128
Input: ABC-123
Normalized: ABC-123
Bar Width: 2
Bar Height: 120
Line Color: #111827
Background: #FFFFFF
Display Label: Yes

Status: Generated CODE128 barcode.

Additional confirmation

The same behavior occurs with EAN-13:

  • Input: 400638133393
  • Normalized value shown: 4006381333931
  • Status: Generated EAN13 barcode.
  • Preview remains Preview will appear here
  • SVG/PNG remain disabled

This makes the core barcode output and export workflow unusable even though the UI reports success.

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