MuseScore Studio 4 seems to have issues distinguishing number row from numpad

• Aug 23, 2024 - 01:35

I'm trying to rebind some keys in MuseScore Studio 4 to match my profile in other notation software. I use the numpad to control note duration, but I use the number row above the letters to control a variety of other things like accidentals.

I tried binding 1 to "add natural" and numpad 1 to "16th note". MuseScore is defaulting to the 16th note even when I hit 1 one the number row.

Can MuseScore Studio not tell the difference between the numpad and the number row? I do have numlock on.


Comments

Really interesting
I haven't dove into this much, but might it be possible to use Shift+# for all those upper row shortcuts?
Granted, you'd be using !@#$ etc. rather than numbers, but it would get you those keys back.
Just a thought

In reply to by Jojo-Schmitz

Do you by any chance know where the documentation for doing that is? I'd need to know what the keycode is for the numpad keys.

It still seems pretty bizarre to me that the program can't tell the difference though, and I do think it's something that needs to be addressed (unless I'm doing something wrong).

In reply to by petclset

No documentation I'd know of, but ti me it looks prelly much self-explanatory, just find your shortcuts.x,l and open it with any plain text editor (NotePad should do), and see yourself.
There is a distictions between e.g. 3 and NumPad+3

Example, 0 and Num+0 both enter a rest:

    <SC>
        <key>rest</key>
        <seq>0</seq>
        <seq>Num+0</seq>
    </SC>

Just an idea, but perhaps MS stores ASCII or unicode, not key combos?
So, a 3 is a 3 no matter where it comes from; hence Shift+1 = simply ! in the shortcuts menu.
Though it looks it re: CTRL and ALT, maybe it doesn't retain the actual key presses.

Still, it seems many presses are potentially unique.
The top row gets you just numbers; shifting gets you !@# etc.

NumLock seems to toggle shift behavior, still leaving you two choices per numpad.
1 2 3 etc. vs. PgUp Home End etc.

That still leaves CTRL and ALT for even more variations.

It still seems possible, or I am really underestimating your keyboard game.

Both numbers from above the letter and from the numpad have the same effect for me, so clearly MuseScore does not make the distinction.
And while I get you could want that, I certainly wouldn't, I use digits from one place or the other one depending on where my fingers are, and some of my keyboard don't have a numpad.

In reply to by frfancha

It certainly does, because the shortcuts.xml sets boths as a shortcut for that action, see my example above for rests.
The UI though doesn't allow for setting more than one shortcut per action andmorein Mu4 (it does in Mu3), this needs to be done manually, by editing that file

Do you still have an unanswered question? Please log in first to post your question.