The action "Select all notes in staff" is mouse position dependant, and selects all notes in staff under mouse cursor just in the item under mouse cursor.
Expected: Should select notes from start to end in all items. But how would it decide which track and which staff with multiple selection I don't know.
Easy fix - rename the action to include "staff and item under mouse cursor" in name.