Skip to content

[MU4 Issue] Spin boxes won't accept keyboard input #13476

@rgreen5

Description

@rgreen5

Describe the bug

If you change the offset of an object, you should be able to reset it by entering a 0 (zero) from the keyboard in the relevant spin box. However the spin box will not accept keyboard input.

To Reproduce

  1. Open the attached file.
    spin_box_issue.zip
  2. Click on a fingering and click on the "Appearance" button (Properties panel)
  3. Change the vertical offset by dragging or using the spin control
  4. Now try to enter 0 (zero) in the spin box.

RESULT: The box won't accept keyboard input. Curiously, if you drag the fingering without opening the "Appearance" section, the spin box does accept keyboard input.

Expected behavior

Keyboard input to a spin box should always be accepted.

Platform information
OS: Linux Mint 20.1, Arch.: x86_64, MuseScore version (64-bit): 4.0.0-3117031689, revision: github-musescore-musescore-bd3e1bb

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority: MediumQt-nextEither broken or fixed by (updating to) newer Qt versions than we currently useos: linuxPotentially specific to Linux-based operating systems

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions