For me, it is the opposite. When I am listening to music over the wired headphones, the music suddenly comes out of the speaker (even though I have the music volume at 0 for speaker) and the notification plays over the headphones.
When I am listening to my Bluetooth headphones, the...