I've set the default behaviour of double-click to 'Edit Spec & Body' as well as the behaviour for packages and package bodies to the same value.
Nevertheless it seems that the double-clicking behaviour randomly picks from
- (un)folding the object in the browser
- opening the editor with the spec & body in edit mode
Can anyone reproduce this?