The 'Save current perspective' name (the one set in dialog as it is opened) is sometimes not set to the name of current perspective, but instead a different one.
For example, this seems to be trigerred when user starts debugging. The perspective is switched from 'Code::Blocks default' to 'GDB/CDB Debugger: default', but the 'Save current perspective' offers to save current perspective 'Code::Blocks default'.
This can cause one to accidentally overwrite other perspective than he wants to.
Using Code::Blocks svn build rev 9660 on Debian.