The story
Qīngmíng means clear and bright, which is a description of the weather at that point in the year. The festival absorbed an older one, Hánshí, the cold-food day when no fire could be lit — kept for a retainer who had cut flesh from his own leg to feed an exiled duke, and who later burned to death in a forest the duke set alight to smoke him out.
The day is two things at once and always has been. Families sweep the graves in the morning and then eat outdoors in the spring — the sorrow and the picnic belong to the same afternoon.
Korea keeps the same day as Hansik, still under the cold-food name, and tends the family graves on it.