Skip to content

Python runner ignores SIGINT #9415

@gaycodegal

Description

@gaycodegal

Bug Description

Running slint with python3 main.py ignores SIGINT (^C) in the terminal. I had to write this wrapper script to kill the app.

https://github.com/gaycodegal/LinuxAlarm/blob/b7a23a4a6ed924e5a9cf6cf30e607d0b65bdcaad/alarm_slint/run.sh

Reproducible Code (if applicable)

Minimal sample project at commit https://github.com/gaycodegal/LinuxAlarm/tree/b7a23a4a6ed924e5a9cf6cf30e607d0b65bdcaad

Theoretically any slint app should have this bug

Environment Details

  • Slint Version: Version: 1.13.1b1
  • Platform/OS: Linux (6.14.0-29-generic Make it possible to define constants #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 7 18:32:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux)
  • Programming Language: python
  • Backend/Renderer: Whatever comes default with python - I'd have to assume Qt as it works with the orca screen reader

Product Impact

  • just building a timer app because the gnome clock app doesn't support command line arguments
  • impact: inconvenience
    • I have a workaround which is linked so it's not a big issue but filing a bug to alert the slint team of the issue

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