Thanks for trying to help,
I have given feedback to Apple before posting here, and I do both things when I find something like this. I believe in helping improve software and reporting bugs whenever I can.
In your original GIF, you did not click in the MIDI region in the Piano Roll, so I didn't think you understood the issue. Not sure if you do now.
So, if you click in the Piano Roll in a MIDI region, does the Piano Roll sometimes switch to another track? This is not consistent; some MIDI regions display this behavior, and others do not as demonstrated in my second GIF, so you probably need to have a large session with multiple MIDI tracks. By the way, in your latest GIF, with only 1 MIDI track and one audio track, it is working as I would expect, but this is not the case in my session.
Just for clarification and in case someone at Apple is reading this, when I have a track selected, doesn't matter which one, then select a MIDI region from another track, that MIDI region opens in the Piano Roll, and I can click in the piano roll and edit MIDI notes as one would expect. But as demonstrated in my GIF, in other MIDI regions on other tracks that are not selected, this does not work, clicking in the MIDI region next to a MIDI note, it switches to the audio region of the selected track, not what one would expect, and is deeply disruptive to a workflow.
If you do understand the issue, and you still say there is a reason for this I would love to understand under what situation anyone would ever want to open a MIDI region in the Piano Roll, (whether clicking it or typing [E]) and have it switch to another region (even if that track is selected) as soon as one clicks inside the region they just opened in the Piano Roll. If I am opening a MIDI region, I intend to work on it, and it should never switch to another region.
Best, Mark