I dont want to be the only one giving opinions, but if you are comparing any semi-cocked striker fire trigger to a good single action, 1911, or rifle trigger, they suck.
If you are comparing Glock triggers to others, they are middle of the road, a bit mushy, but consistent, good reset, and simple. They can be changed - lighter, heavier, stronger springs with same feel, full drop in triggers, lots of options.
They have a drop, firing pin, and trigger safety, so the odds of one going off on the forest floor are pretty dang slim.
If that is a concern, M&P's are available with a thumb safety, and I think at least one company makes an aftermarket safety for a glock. I wouldnt ever put it on one, but it is around.
As to the grip safety - dont get me wrong, I love some 1911 - but get all that extraneous crap that can restrict handling, cause potential malfunction, prevent slide manipulation, or requires a specific grip to work away from mine. I want the simplest, most reliable, nothing to go wrong, easy to fix, always go bang I can get my hands on that meets my needs. Thumb safety, sure. Grip safety - OK, but I dont believe it offers any real benefits, and I like Glocks, so I dont lean toward XDs. Im not saying its a bad platform, but it is a $250 Croation pistol that Springfield tested, imported, and did a hell of a job with marketing. Not a slight against it, but be aware. It is a Croation military and police side arm, so it does have some vetting on that front (you wont find much in use in LEO or .MIL roles in the US, if that is something you look for), along with almost 20 years of history behind it.