In a properly operating Glock, the following would keep it from firing when dropped.This is true on a properly manufactured and in spec Glock. I'm not even certain its possible on an out of spec or improperly manufactured Glock.
The trigger bar is in positive engagement with the firing pin lug, preventing the firing pin from moving forward to contact the primer.
The ramp safety prevents the trigger bar from moving downward out of engagement with the firing pin lug until the trigger bar is moved backwards behind the ramp safety. And that can't happen because the trigger safety prevents the trigger (and trigger bar) from moving backwards unless the trigger is pressed.
If the firing pin lug or the trigger bar or the ramp safety were to fail and the firing pin moved forward, the firing pin safety would block the firing pin from reaching the primer unless the trigger was pulled to the rear.
What could cause the gun to discharge when dropped?
If the trigger safety were to fail, and the gun landed in such a way as to pull the trigger/trigger bar assembly backwards from the impact force, the gun would likely fire. I've run the numbers and they indicated that a fall from 4 feet, landing on a hard surface muzzle up would generate enough force to cause a discharge in a Glock with a non-functional trigger safety. The bullet would go more or less straight up in that kind of a scenario. A discharge resulting from a drop of less than 2 feet with the bullet going off to the side (as in the story about the Glock 19) instead of straight up is not realistic even with a broken/failed/defective trigger safety.
Barring a failure of the trigger safety, it would take BOTH of the following.
1. Failure of the ramp safety and/or trigger bar and/or firing pin lug.
AND
2. Failure of the firing pin safety.
In other words, as long as the trigger safety is working (which can be very easily verified), at least two other parts of the gun would have to fail/break/be defective/be improperly modified before the gun could discharge without the trigger being pulled.
Does that mean that Glocks are amazing or unusual or super-safe compared to other guns when it comes to drop safety? No, I'm just providing the details of the Glock safety system because the question came up. In reality, most modern firearms have safety systems designed to prevent discharges as a result of the gun being dropped.
What I'm saying is that when someone tells you that any modern firearm in good condition fired as the result of being dropped, you're justified in being pretty skeptical about the story.
Extraordinary claims require extraordinary proof. If your neighbor tells you that he wasn't paying attention and hit your mailbox with his car, you can probably take his statement at face value. On the other hand, if he tells you that his car started itself in the middle of the night and ran over your mailbox without anyone driving it, you should ask for proof rather than take the statement at face value.What I am saying is dismissing every time something goes wrong as user error without clear evidence is a very good way of building a database of user error issues.
I'm going to go WAY out on a limb here and guess that this person who claims to have dropped a pistol from 18" and had it discharge:
1. Never made any legal claim against the manufacturer for selling him a defective pistol which endangered his life and the life of any other residents in the house or nearby houses, and that caused damage to his safe, wall and probably his hearing.
2. Never had a gunsmith, armorer or independent testing lab examine the gun for defects that might support a legal claim against the manufacturer or that might allow correction of any dangerous conditions or replacement of damaged/defective parts.
3. Never, in fact, did anything at all other than perhaps tell a few people a story to explain the hole in the wall and the safe.