I've found what looks like a very small bug in LyX 1.5.2 under at least OS X. I've not been able to check whether it arises on any other platform. If I open a new window on the document I'm editing (*the* feature I'd been waiting years for -- thanks LyX developers!) and insert an ERT, I cannot collapse it simply by clicking on the grey "ERT" area to the left of the ERT box. Similarly, if I click on a collapsed ERT, it does not open up. The same ERTs will collapse/open if I click on them in the original window. I can collapse and open ERTs in the new window by right clicking and using the dialog box, but I should think you'd want to see the same behavior regardless of the window.
Chris Menzel