Yes this has happened to me many times too. Many people including adults lack general awareness these days and it is quite apparent among pedestrians who as you say are engrossed in their own thoughts, music or chat. We just have to heighten our own awareness to compensate for them.
Bro, I'm...