This happened last night with our son, although things did get better after he finally ate some dinner!
I'm not sure what we can do to make things better though, because we usually eat right away after getting home! Or maybe he wants some down time before dinner starts... or a snack during the walk home.
Does your kid get crabby in that time between getting home, and eating dinner? How do you manage it?