Hitting Enter in Page Settings with "OK" button highlighted instead does "Apply to all Parts"

• Jun 4, 2015 - 01:26
Type
Functional
Severity
S4 - Minor
Status
closed
Project

As shown in this screenshot, the "OK" button is highlighed (which I believe is correct), but hitting the Enter or Return key, instead of having the same effect as clicking "OK", has the same effect as clicking "Apply to all Parts."
pagesettings.png
I might consider this a "loss-of-work" bug, because that's what happened to me.


Comments

I had noticed that Enter does not activate OK as well; never noticed that it would activate Apply to all Parts if not greyed out.

I don't understand the ins and outs of how keyboard control of dialogs works, but I think the problem is simply that the OK button is not actually defined as the default button. The following PR simply sets the default button to OK explicitly:

https://github.com/musescore/MuseScore/pull/2043/

Seems to work.

BTW, Undo works, one part at a time (just like part creation).