Skip to content

Editor: Slider and SpinBox widgets attempt instantiation via range() #536

Open
@GModal

Description

The Slider widget creation methods are set to range(), and number() for SpinBox by the editor. It's set in attr_class.

If attr_class is changed to 'Slider' or to 'SpinBox' in the editor, the change is persistent, and the script will run (and reload in the editor).

The saved files from the editor can be fixed, like so--

As saved:

        slider0 = range()
        slider0.attr_class = "range"

Change to:

        slider0 = Slider()
        slider0.attr_class = "Slider"

The incorrect scripts will neither run, nor load into the editor without the fix.

A python 3.12 compatibility issue? I'm running Ubuntu 24.04, with remi in a venv environment... There may be other widgets that also manifest this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions