Never by Hamas. The mutual recognition with Fatah accomplished nothing because the guys with the rockets weren't at the table.
There have been times when Fatah was able to pacify Hamas, but when the peace does not deliver, a return to war is inevitable. By making progress with Fatah, the power of Hamas can be stripped. But of course Israel knows this. This is why they allowed Hamas to take over Gaza and divide the two parties. The current state serves Israel well, why on earth would Israel want peace. The number of deaths is pretty tiny 15-20/year. And the state of war delivers all kinds of benefits. Cheap labour, US subsidies, chaos in which land can be annexed, theft of water rights, dampening of internal conflict in Israel...etc etc.. as the Germans used to say, enjoy the war, the peace will be hell.

