Skip to content

[Bug] Downloaded images contain rendering issues in Helium Browser #408

Description

@mynameistito

Description:
I am encountering a rendering issue when exporting/downloading images from Ray.so specifically while using the Helium Browser.

When I download an image, the resulting file shows the code snippet repeating vertically multiple times with improper spacing, merging the end of one block into the start of the next. It looks like a rendering loop error or a canvas buffer issue.

Steps to Reproduce:

  1. Open the Helium Browser.
  2. Navigate to ray.so.
  3. Paste any code snippet.
  4. Click "Export" -> "Download PNG".
  5. Open the downloaded file.

Expected Behavior:
The downloaded image should look identical to the preview on the website (a single, clean window with the code snippet).

Actual Behavior:
The downloaded image is corrupted. The code content is duplicated vertically, creating a "run-on" effect where the import statements and brackets overlap or repeat without line breaks.

Screenshots:

Environment & Testing:
I have tested this across multiple browsers to isolate the issue. It appears to be exclusive to Helium.

  • Helium:Broken (See screenshot)
  • Google Chrome: ✅ Works as intended
  • Firefox: ✅ Works as intended
  • Ungoogled-chromium: ✅ Works as intended

Additional Context:

  • This seems to be a regression; this workflow functioned correctly on Helium previously.
  • The issue occurs regardless of the code snippet length.
screenshot of the rendering artifacts Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions