My FIL is a truck driver and I am aware of idling and small diesel engines that will cool or heat the cabin while saving fuel.
These devices are very expensive, so not all truckers, especially ones with older trucks, can justify the purchase of one.
It's simple economics, just like purchasing a hybrid or a diesel vehicle, if you won't see the savings for a long time, you won't do it.
That's why you will see trucks idling because for a lot of owners the ROI is just too long to justify the upfront expense, especially these days when the trucking business took a big hit with rapidly raisning fuel prices.