pagesettings: modify height switches to width, changes orientation
I find it hard to believe that I could not find an issue already posted for this. It is an extremely annoying bug. Open any score. Go to Format/Page Settings... and modify the value for Height by typing a number or pressing . Instantly the height and width switch values, and the orientation flips between portrait and landscape as appropriate. This does not appear to be happening inside the PageSettings::updateValues() so much as in the layout procedures that follow, though I've just gotten up and running with VS2017 on Windows 10, and my debugging skills here might be weak. The width and height variables "w" and "h" in updateValues() are correct until the end of the function, AFAICT.
What makes this bug so annoying is that the focus stays in the height field, but it's now filled with the width's value. So you start typing a height value, and next thing you know you are editing a different value.
Note that these fields default to mm and the maximum value is 2,000, so in most scores you cannot simply type an additional number into the height field, as 200mm is not a large page size, and you would be exceeding the max value. So I suggest deleting a digit, or selecting over the whole number and typing.
That max of 2,000 in the width and height fields is too low, IMO, but that's a separate issue to be filed.