Skip to content

Scrolling in the spinboxes for environment and generator parameters changes their value #256

Description

@michaellans

Description

When selected, scrolling in the QSpinBoxes in pydantic editors (for environment and generator parameters) changes the value. This is generally unexpected behavior and causes the value to change significantly, with no way to reset to the previous value.

Expected behavior

Scrolling with a mouse wheel should not change the value in the spinbox. If this is intended, there should be a way to reset the value to what it what before scrolling.

Steps to Reproduce

Open Badger, select a value in either the environment or algorithm params. Scroll with the mouse over the value.

Possible solution (optional)

  • Override wheelEvent for pydantic editor spinboxes?
  • Implement undo/redo?

Metadata

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