Skip to content

ui.Label.draw_snapshot() causes crash in Shortcuts #795

@CatsAndChaos

Description

@CatsAndChaos

Attempting to draw a Label onto an ImageContext using Label.draw_snapshot() causes a crash when script is run via Shortcuts. There do not appear to be any memory issues involved, since I tested this with a tiny script that worked just fine in the app.
System Information

  • Pythonista N/A (N/A), Default interpreter 3.10.4
  • iOS 26.0.1, model iPad15,7, resolution (portrait) 1640.0 x 2360.0 @ 2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions