It is a problem on the rear tanks of the DR series Robin/Jodel models.
If you have wing tanks, then use those for take-off and landing.
The float type gauges are pretty unreliable, but the low quantity warning light is independent, comes on at about a quarter full, and I've found it to be pretty consistent and reliable.
It gives about 20-30 minutes safe flying after it lights up.