I seem to remember Sir R F Burton complaining about bayonets made to double as swords or saws or lord knows what else, instead of being designed for use as bayonets.
Goes back to the end of 1800s. Muskets vs. Rifles. When rifling began to take hold barrels got shorter and a Rifleman became disadvantaged with less reach. So they went to longer blades.
If you ever come across a Commonwealth Rifle Regiment on parade the command still used is "Fix Swords". They were the hinge point of the change from bright uniforms and tactics that beat Napoleon to dark green uniforms and much smaller unit hit and run tactics and accurate aimed fire vs volleys.