TROI: Transfer the letters from my mother to the viewscreen. And, computer, I would like a real chocolate sundae.
COMPUTER: Define real in context, please.
TROI: Real. Not one of your perfectly synthesised, ingeniously enhanced imitations. I would like real chocolate ice cream, real whipped cream
COMPUTER: This unit is programmed to provide sources of acceptable nutritional value. Your request does not fall within current guidelines. Please indicate whether you wish to override the specified programme?
TROI: Listen
PICARD [OC]: Picard to Counsellor Troi.
Aha! This exchange between Troi and the computer suggests that the replicators
could provide her with a real chocolate sundae, except that the nutritional guidelines restrict serving delicious treats to Starfleet officers, in case their waistlines start to expand. Can't have that!
How many times did people
really complain about the quality of food from the replicator? Mostly on DS9, right? Where the replicators were Cardassian and therefore probably optimized to serve Cardassian dishes. And one character, Sisko, was a chef, who would naturally be inclined to look down on replicated food, the way a chef might look down his or her nose at a meal of pre-packaged frozen lasagna reheated in a microwave. It might not be as good, but it's still lasagna.
Picard, too, complained, but specifically about the quality of replicated caviar. It could just be a problem with the caviar "recipe" loaded in the ship's computers. It's probably "pasteurized", and Picard may have grown up consuming unpasteurized caviar.
The idea that in the world of Trek, transporters are counted on to move people reliably on a daily basis, without apparently giving them any problems from accumulated errors in their bodies, but that replicators (based on the same technological principles and equipment) can't get
food "right" doesn't strike me as verisimilitudinous.
Anyway, what does it mean for food to be "right"? My recipe for pecan pie might not be anything like your recipe for pecan pie, but whose recipe is "right"? The one that you prefer, of course. Which only means that "right" is a matter of opinion. Are the food replicators getting things "right"? Depends on whether the characters liked what they ordered from it or not.