Skip to content

Segmentation fault when creating a Text object in Python #8258

@mitchgrout

Description

@mitchgrout

Bug Description

When creating a window containing a Text object, attempting to show the window via Python results in a segmentation fault.

This could potentially relate to #8251

Reproducible Code (if applicable)

// app.slint
export component App inherits Window {
  Text { text: "foo"; }
}

// app.py
// import slint
// class App(slint.loader.app.App):
//   pass
// app = App()
// app.run()

Environment Details

  • Slint Version: 1.11.0a1
  • Platform/OS: Windows 10 (x64)
  • Programming Language: Python 3.13.3
  • Backend/Renderer: Unsure

Product Impact

Non-critical, just exploring the slint API for Python

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions