Yep, know where you are coming from - oddly, say, you visit a pub/shop/someone's home just the once, and then revisit (could be the same day, the next, a year later) that's it, it's her territory now and so barks at anything that dares cross the threshold! Owners and all!
My Mum and Dad have a part terrier part Daschshund...it never shuts up. Anything that walks past, burps, farts, blows in the wind, bats it's eyelid a thousand yards away...WOOF WOOF WOOF WOOF YELP YELP YELP YELP WOOF SCREAM WOOF WHINE WOOF.
Lovely dog, but bloody annoying.