#in past perfect progressive,
is the action still in progress (in the past) when the second action takes place (in the past)
"It had been raining for two minutes when i gave her my umbrella."
so when i handed her my umbrella, was it still raining then ?
It almost certainly pretty much does, Irk. But it doesn't mean that the action has to continue past that point.
"It had been raining for two minutes when I gave her my umbrella. Just as she touched it, the rain stopped."
She had been bouncing on the trampoline when lightning struck her.
She had been dancing when I walked into the room.
(i know that in present perfect tense, the job is still in progress from a specific period of time)
This isn't necessarily true, Irk.
"I've been working on it all afternoon"
could be said by a person who has completed/completed the job some time before, eg one hour before.
A: So you're finished, eh. Good work, Smedley.
B:Thank you Sir. I've been working on it all afternoon.
Tenses tense. . .