highlight color is wrong unless velocity tint is active
MIDI libraries for Qt/C++
Brought to you by:
plcl
Hi... my second bug report here...
Since updated to version 0.8.0, I am unable to set a color for the note on highlight. Actually, what happens is this: if I set single color highlight, it works but only for white keys; if I set two color highlight, the black key color does not affect anything.
Please share more details, for instance the screenshots of the palettes that do not work for you, operating system and VMPK version. Thanks!
Operating system is Windows 10 64 bits, vmpk is 0.8.1.
Tested with a clean install (actually removed the config key in Windows registry).
In vmpk, I went to Edit > Color Palette. It showed "Single color highlight" with a blue color. Changed the color to red, OK. Then, white keys highlighted with red color, but black keys remained blue.
Went again to Color Pallete. Selected "Two colors highlight", and tried to change both colors to red; OK. No change at all in behaviour.
I suppose in both cases, all keys should have highlighted in red.
@plcl,
I tested again with a clean config. Changed the single color highlight to red, and it worked as it should. I really don't know what I did wrong. I will explore a little more, to see if I find it out.
Thank you.
I think I found the problem. It occurs only when "Translate MIDI velocity to key pressed color tint" in the Preferences dialog is disabled. It appears that when you disable the option, vmpk "memorizes" the keys you previously played and the color it showed before, and keys not previously pressed are shown with the default blue color.
I recorded a short video showing the bug in action. I think the images explain it better than I can in words: https://youtu.be/6hqmHsLYf30
The highlight color is wrong when the keys are highlighted from MIDI IN note events and velocity tint is not enabled.
If the keys are highlighted from mouse/keyboard/touchscreen events, then the colors seems to be correct in despite the velocity tint state.
Ticket moved from /p/vmpk/bugs/71/
fixed in [r495]
Related
Commit: [r495]