For my maybe less than $0.02 worth:
I didn’t care for the P-07. Disliked the decocker. Disliked the teeny slide. Overall it felt fragile.
PX4 Compact in my opinion was much better built. Great trigger, robust zeroed factory sights. It needs nothing but can benefit from a lighter hammer spring, and maybe the stealth decocker levers.
For a plastic Glock 19 sized TDA I would take the PX4C all day over the P-07. And a P2000 over the PX4, simply because I like HKs.