Yes, I had discovered that at a certain monitor resolution (I am at 1920xsomething), using the Hi-Res fix, when you clicked to exit the periscope view, the mouse happened to land on the fire button and launched a torpedo.
I wanted hi-res, so I installed someone's TDC mod that puts the TDC on the right side of the periscope. Now when I exit the scope view it clicks on the torpedo spread angle.

I have to watch this or it can bugger up salvo shots. But at least it doesn't fire torpedoes when I exit the periscope view.
Steve