homescreens/folio: Block propagation if edit mode is active to avoid widget to trigger event
Fixes #387 (closed) and #353 (closed)
I can't only block the touch events because it blocks also MouseEvent.
I think because it's used to convert it by QT into Mouse Event with source == MouseEventSynthesizedByQt or MouseEventSynthesizedBySystem.
So the solution, it's to check if mouse event is a synthetized event and if edit mode has been triggered to block or not the event propagation
Test:
- On VM with kwin_wayland command
- On mobile
Edited by Devin Lin