Screen keyboard height settings didn't reload correctly for wide screen

Trouble with Synthesia, your keyboard, or adapter? Think you found a bug?
When describing problems, always mention your OS and game version (shown at the bottom of the title screen).

If your keyboard has USB or MIDI ports, there is a tremendously high chance (>99%) it will work with Synthesia. See what you'll need on the keyboards page.
Post Reply
houdou
Posts: 1

Post by houdou »

First of all, thank you for developing such a great software. It really helped me build up my piano skill without much pain.

Currently, I setup a screen on my keyboard to have a 1:1 mapping to my piano keyboard.
However, the on screen keyboard cannot be hided correctly whenever I enter the play mode.
After examined for a while. I found that, the problem will occur if the window is resized
to a wide view (i.e fullscreen on my monitor running at 3840x1080 or an arbitrary wide window on windows. Please check the following screenshots)
IMG_7614(20211009-181722).JPG
IMG_7614(20211009-181722).JPG (227.68 KiB) Viewed 1277 times
20211009181951.png
20211009181951.png (82.72 KiB) Viewed 1277 times
I checked the settings.xml, the Keyboard.TuckPercent is well saved as 1.
Also, if resize the window again, it will magically correct the keyboard position and completely hide it.

If I run synthesia in no wider than 1600px width, then the problem won't occur.
Even slightly over 1600px width, it will show a small portion (the red one) of the keyboard.

i.e. running at 1667x1672
20211009182441.png
20211009182441.png (71.15 KiB) Viewed 1277 times
It's very annoying to drag the keyboard handle every time I start a song.
Please help on it to see if can solve it in the next patch.

The issue can be reproduced on version 10.7.5567 on both windows and macos.
Nicholas
Posts: 13135

Post by Nicholas »

Thanks for the detailed explanation! I was able to reproduce this bug immediately.

This is great timing to sneak it in just under the wire for the 10.8 release (that should hopefully go out before the end of the month).

EDIT: Nice. It was a one line fix.
Post Reply