My first question here.
I am wondering whether expressions like the ones in the tittle are just expressions or represent another thing in the english language.
I will give you some more examples so you can understand me. Very often I read sentences like these:
When studying the brain waves of people in the flow, researchers find the slow alpha rhythms typical of meditation.
When clicking the 'search button' I discovered a bug.
When playing soccer I feel good.
Are above sentences well written?
I want to know if this is a simple use of gerund or an expression and how to use it. After the 'when+gerund' part which verb tense can I use?