MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

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

Open rgreen5 opened this issue 3 years ago • 6 comments

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

rgreen5 avatar Sep 24 '22 11:09 rgreen5

This problem affects spin boxes of all properties. For example:

  1. Click on a notehead.
  2. Open Properties > General > "Playback".
  3. Click in the "Velocity" spin box. RESULT: Box accepts keyboard input, deleting, highlighting, editing etc.
  4. Now, with the same tab open click on another note
  5. Try to repeat step 3. RESULT: Cursor won't appear in spin box and no keyboard input is accepted.

rgreen5 avatar Sep 27 '22 09:09 rgreen5

I can confirm this on Linux, basically the spin boxes work only once per session with the properties window. Typing doesn't work until you clear the selection or close the Appearance button. As long as the Appearance window remains open, I can't type into it after the first note.

Windows seems better.

MarcSabatella avatar Sep 27 '22 19:09 MarcSabatella

I can't reproduce this on macOS. I'm running macOS 11.6.8 Big Sur on a MacBook Pro 2015 (Intel).

shoogle avatar Sep 30 '22 16:09 shoogle

Bump.

rgreen5 avatar Nov 07 '22 11:11 rgreen5

I can reproduce this on Linux (and it's very, very annoying) but not on Windows; so it appears to be Linux-specific.

its-not-nice avatar Dec 19 '22 10:12 its-not-nice

I can confirm on Linux. And it is more general problem with Playback / Appearance popup.

If user clicks element first and then Playback, or Apearence in Properties, spin boxes do accept keyboard input.

But if Appearance, or Playback is already open and user than click new element (note, or fingering, or whatever), spin box is not accesible.

sammik avatar Dec 19 '22 14:12 sammik