Okay, I think I have read most of the stuff online here and I do have some points to add:
possible things to consider:
-Japanese people like to have the 'correct' reaction to people. The right mode of speech, the right place to sit at a table, the right way to address people, they would like to say the right things. This means that they have tons of (travel) books, which for example tell you the rules on where to sit at a European table or on a European couch as a visitor. While in my country and family, there are no rules for who sits where, this book's explanation will set the mind of Japanese visitors at ease.
-The same thing applies to encountering a foreigner. Rather than just being themselves, they are either too embarrassed, because they have no idea what to say or ask, or they have heard or been told by someone else, which questions are good to ask. They will almost all behave in a similar way, because they read it in a magazine or book or they heard it from someone else. The asking for the 4 seasons is a popular one. In summer Japanese people say a thousand times it's hot. Everyone can feel it's hot, they are not stating something, they are just being polite and saying something. So when a Japanese cashier is ignoring you, she is just hoping that by saying as little as possible, she will have done the right job.
-They say you are good at eating with chopsticks or good at Japanese, because they want to be polite. They are not judging your ability or being amazed by it. (unless they say it repeatedly and then it is because they compare you to how long children take to learn to eat with chopsticks. Even then, they are still most likely just being polite)
-Also if they talk to your boyfriend or girlfriend instead of you, it is most likely because they don't want to offend you if you don't speak Japanese. They want to be polite. For them it would be much better if they could be amazed at you being smart and speaking Japanese in the end, rather than having you not being able to reply because they made assumptions.
An example of the above 'sample conversation with a foreigner tourist', which most Japanese people know is:
-You:Hey, nice to meet you.
-Japanese:Nice to meet you too.
-Japanese: How has your stay in Japan so far?/Are you enjoying yourself in Japan?
In standard Japanese this would be something like:
-窶堙坂?堋カ窶堙溪?堙懌?堋オ窶堙
-窶堙坂?堋カ窶堙溪?堙懌?堋オ窶堙
-ツ債。窶堙懌?堙??愿コ窶怒窶堙坂?堙??堋、窶堙??堋オ窶堋ス窶堋ゥ/窶愿コ窶怒窶堙最?y窶堋オ窶堋「窶堙??堋キ窶堋ゥ
The reason that I know this is a standard question is because what you encounter instead from time to time is this one:
-窶堙坂?堋カ窶堙溪?堙懌?堋オ窶堙
-窶堙坂?堋カ窶堙溪?堙懌?堋オ窶堙
-窶堙??堋、ツ?/ナ?y窶堋オ窶堋「ツ?
They assume because of context you will know that they are talking about you being in Japan. They assume you will be able to answer, because it is a standard situation.
The point I don't like:
-I am not American or English, my native language is not English. There is no such thing as: 'foreigners like this'. There are many kinds of foreigners. I usually counter this assumption by saying: Japanese and Chinese are also the same then?
Anyway, there are of course racist Japanese, but the majority would in my opinion be shy, scared to not be respectful enough, holding onto strict false guidelines.
If a person in a wheelchair or a movie star would enter your shop, you may react differently to them than to the average customer. Regardless whether they would like to be treated the same or not. It is hypocritical as the title of the topic says, but are the intentions really that bad?