McDonald's in the suburbs and more rural areas and smaller cities are quite pleasant. Spacious, clean, just local folks.
If your local McDonald's has a homeless person problem, then all your local fast food franchises do. It's a social services problem, not a McDonald's problem.
And it's not just McDonald's, as you mentioned. I've observed the exact same thing with Wendy's and many other restaurants as well.
There are of course plenty of exceptions. It's perfectly possible to find a dirty uncomfortable restaurant in a rural area, and it's also not difficult to find a nice comfortable place in the inner city. But generally speaking the above is what I have observed most
...Unless you mean Canada of course, however, I bet a well traveled Canadian would say the same thing.
Also, stop vilifying the homeless.
Photographer and author Chris Arnade has written fairly extensively of his travels around the “forgotten” parts of America, which frequently lands him in McDonald’s stores that do serve as a community third-space, https://www.theguardian.com/business/2016/jun/08/mcdonalds-c...
My anecdotal experience says they do. So what makes our observations different?