I have this mapping on two test pages. When I first press one of the buttons, Cubase does go to the appropriate channel. However, all of the 8 buttons on the GUI appear to go selected, lose their channel color, and no longer function.
If I use my mouse to select a track in Cubase, the appropriate button for that track is selected and all of the assigned buttons change to the correct color and also begin to function as expected. I can press them at will and Cubase selects the correct track.
If I move to a different page that is mapped the same way, the behavior repeats. First press goes to the correct Cubase track and the buttons again stop functioning. Same deal, press a new track in Cubase project, buttons function again until changing page.
I don’t know if it related at all, but I also notice that the console.log( ) I placed in the page mOnActivate callback is getting called TWICE for each page change.
By appearance of the behavior, it seems that the state machine is having issues on a page change on the first press of a button mapped to the mSelected action. Again, problem remains until I manually select a different track in Cubase, then returns to normal function as expected.