It depends on how quickly you click. If there isn’t enough time between button clicks, on the second click you get a double-click instead of a single click. Because there are both single-click and double-click events for the primary mouse button, you can get either event.
If there is enough time, you will get consecutive/repeated context click events.
There’s no BackgroundDoubleContextClicked event, so you just get a sequence of context-click events, or you don’t get anything if it would have been a double-context-click.
However it does seem inconsistent to me that one keeps getting single-click events when it should have been a triple or quadruple primary button click, but you don’t get any events for double or triple or quadruple secondary button clicks. I suspect it’s because context clicks have predefined behavior involving context menus, and you might not want repeated invocations of context menus if there were double or triple or quadruple context clicks.
Did you have a proposal in mind?
ADDENDUM: I took a look at the source code. The basic choice is made by:
// decide whether single-click, double-click, or context-click
let kind = 0;
if (e.left) {
if (e.clickCount === 1) {
kind = 1;
} else if (e.clickCount === 2) {
kind = 2;
} else { // assume more than a double-click is just a rapid single click
kind = 1;
}
} else if (e.right) {
if (e.clickCount === 1) {
kind = 3;
}
}
It’s been that way since long before we released 1.0.