Jinley is much the same.
She thinks it is okay to go up to other owners for a fuss and treat, even sitting at their feet if we are talking. But if another dog dares to come to me for the same, she is soon back!!
With regards to treats, when I was at my daughters with her 2 dogs (and I now do it out with other dogs) only the dogs that were sitting quiet had the treat, she soon learned that she had to do the same.
The problem with able to fuss another dog is a difficult one, I think I have made it worse by avoiding fussing other dogs to avoid any conflict.
Pat