To start with I actually love dogs, their owners not so much at times.
My DS is 6 and has a real fear of uncontrollable (as in unrestrained, excitable etc) dogs. He was bitten quite badly by a friend of the family pet at 4 and was also knocked over by a dog in a park just a few months after the bite so he is very anxious.
When we pass dogs either on leads or chasing a ball he is absolutely fine and we have been building him up slowly with his contact with dogs as I know they are unavoidable and as a dog lover myself I don't want him to go through life fearful.
We went into a DIY shop yesterday and while we were looking at paint a dog comes out of nowhere, with a lead on but no one holding him. He came bounding up to DS and jumped up, DS got very upset and I quickly grabbed the dog by the lead. Shortly after an older woman walks round the corner and says he is hers but don't worry as he is "friendly". I wouldn't let my toddler run around a shop bothering people so don't understand these dog owners that assume everyone else will love their dogs and want contact with them.
She continued to let the dog wander off whilst she looked at paint and DS was quite upset by the incident which has now put him back in the progress he has made as he didn't invite this contact and it was totally unexpected. As she called the dog to another aisle (still without taking the lead) she mumbled under her breath about the
"silly boy", which thankfully DS didn't hear.
Surely if you take your dog into a public space you keep control of them? Particularly if they are likely to jump up as however friendly they are not everyone would welcome this.