I don't think many people here are aware of the history of Gaza, which is very different from the West Bank.
The Gaza strip has been the home of Palestinians for thousands of years. They used to be called "Phillistines ", and originally came from Greece. Over the years, they intebred with Hebrews and were Arabized later.
Eventually, Egypt gained control of the Gaza Strip and so the locals gained an affinity for Egypt that resulted in a very different culture than other Palestinians. At some point, Egypt was forced to give it up, and Gaza continued as the home for Palestinians under Israeli control.
What should happen is that the residents should have complete independence (not as part of the West Bank government), but without any allusions to somehow conquering Israel for themselves. The sooner that the historical status of Gaza as a separate and free standing entity is realized, the fighting ends.
That's the solution.
However, Hamas is more interested in getting funding for fighting Israel than administering an independent country. They are the barrier to Gazan independence.